String Formatting with % part 2 (not the usual issues


Hey so I’m running into an issue with this excercise. As far as I can tell the code is fine, but the console is throwing a weird error that should be on another part of the page entirely

The excercise is to get some raw input from the user, then spit it back out in a long string, but the console isn’t waiting for me to type out answers to the questions, it just starts spitting out the next piece, then throws the error as if I hadn’t coded it properly at all.


Same here on Firefox (fwiw). I bypassed the lesson by replacing the raw inputs with strings litterals. But it doesn’t feel quite right :slight_smile:


What is the code for that? I’ve basically just started today


use this to bypass the activity,

name = 'ash’
quest = 'be the very best’
color = 'red’
print "Ah, so your name is %s, your quest is %s, "
“and your favorite color is %s.” % (name, quest, color)


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.