Strings & console output


#1

Stuck at strings & console Output(string formatting with % part 2) on line 5 and 6 .please help me


Stuck onstrings $ console output(string formatting with % part 2)
#2

@sabin342 could you please be more specific with your question?
Remember that each lesson has different exercises.


#3

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.


#4

i need help with the first one