It's not working?! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

It's not working?!

I thaught the message supposed to be shown when the prompt box pops up, but the code in the example doesn't do such a thing. This is the code I see: name = input("Enter your name: ") print("Hello, " + name)

29th Sep 2020, 7:52 AM
Mohammad Hosein Nosrati
Mohammad Hosein Nosrati - avatar
2 Answers
+ 9
It is because of Sololearn's IDE. It doesn't show that message in the input box but it shows it in the output.
29th Sep 2020, 7:59 AM
Pranav Kalro
Pranav Kalro - avatar
+ 3
Actually SoloLearn searches that if your code has a input function or not. It didn't depend on the text in the input function
29th Sep 2020, 8:10 AM
AKSHAY🇮🇳
AKSHAY🇮🇳 - avatar