Not sure I understand


#1

Here is my code:

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 %, your quest is %, " \
"and your favorite color is %." % (name, quest, color)

and here is the error I get:
Traceback (most recent call last):
File "python", line 6, in
ValueError: unsupported format character ',' (0x2c) at index 21

I'm not sure where I went wrong.


#2

Hi try to change % inside the print string try to ad a s like that %s to all.