15. String Formatting with %, Part 2


#1

name = raw_input("Me")
quest = raw_input("Stuff")
color = raw_input("Red")

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

When ever i run this it gets to ("Me") and doesn't go any further


#2

raw_input() is a function which prompts the user for input, so you will need to enter some text and press enter to submit this input.

If i am not mistaken, this function has been taught?


#3

Thank you i haven't been on here for a awhile might have to go back and study up a bit but thank you again for the reply


#4