I have problem here: String Formatting with %, Part 2
please read this topic:
By providing the information asked in this topic, we are much better able to help you
okay i will try that tips next time but can you only tell me what is bad in this 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 %s, your quest is %s,
and your favorite color is %s.” % (name, quest, color)
No, please try them now:
include the exercise url (so we can access the exercise quickly), and the error message and what problem you are experiencing, maybe a screenshot?
This problem has been answered in this topic: Formateo de string con %
As @mtf said:
nombre = raw_input(u"¿Cuál es tu nombre?")
Note the Unicode modifier, u outside of the string but immediately adjacent to the opening quote.
So place the u modifier before each opening quotation mark and test again.