String Formatting with %, Part 2


#1

Lesson 15/16. I can replace all the ___ with %s without any problem. However, when I RUN the code, 'What is your Name" appears, but I cannot respond. There is nowhere to enter my name, and then the function times out. It keeps telling me to be sure I am using a lower case s with the %, which I am doing, so I don’t see where the problem is. I cannot enter anything. What gives?

Strings and Console Output


#2

Try a hard refresh on the page and Save again. Do you still not get a prompt in the console? If not, then perhaps try another browser, and failing that, just enter the three strings and comment out the input lines.

name = "your_name"
quest = "your_quest"
color = "your_color"

#3

I had the same issue, but did what mtf suggested and it worked for me after that.


#4

A post was split to a new topic: String formatting part 2


#5

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