Stuck at strings & console Output(string formatting with % part 2) on line 5 and 6 .please help me
@sabin342 could you please be more specific with your question?
Remember that each lesson has different exercises.
In this exercise you only have to "fill the blanks".
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 ___, your quest is ___, " \ "and your favorite color is ___." ___ (name, quest, color)
Replace the ___ with %s, and the last one with % (Just overwrite the ___)
What you're doing is using the %s character to tell to python that you want to place a string in that position.
i need help with the first one