Print Function issue


Hi, I am new to python and I was testing one of the practice test I've seen however only the input function shows while the rest of the script seems to continue to run?

I entered the following

name = input("John Doe")
print("Your name is"+name)

After running, the screen just stays like this.'

I've also tried the “Emulate terminal output console” but it seems to have the same effect. 

1 comment
Hi, try this:

name = input("Input your name: ")
print("Your name is" + name)

Then click on the Run console and enter your name while the prompt is active.

Please sign in to leave a comment.