Please leave the following link in the post so we can find the unit module, else replace it with a link to the exact lesson:
- 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)
The output shows line 1,2 and 3 accordingly but for line 5 I get Ah, so your name is , your quest is , and your favorite color is . Why doesn’t it shows the code like this your name is name, your quest is quest and your favorite color is color. Shouldn’t the % sign replace the %s with name variables (names, quest and color)? Furthermore, what is the function of raw_input? I would really apreciat eyour help. Thanks in advance