Beginner Help


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)

Whats wrong with this code…??

this is the error:
Traceback (most recent call last):
File “python”, line 5, in
NameError: name ‘__’ is not defined

But I don’t understand it. Any help will be highly appreciated


you needed to replace the undescores, you added the required code instead, so remove all the underscores


Thanks so much. It worked…