Quotes help make search much faster. Example: "Practice Makes Perfect"

Friday, November 23, 2012

Codecademy: "String Formatting with %, Part 2"


#sample solution


name = raw_input("What is your name?")
quest = raw_input("What is your quest?")
color = raw_input("What is your favorite color?")

print "Ah, so your name is %s, your quest is %s, \
and your favorite color is %s." % (name, quest, color)

No comments:

Post a Comment


This is an example of scrolling text using Javascript.

Popular Posts