+ 4
Python input() - what am I missing?
I'm just starting to learn Python and I'm not getting the expected result with input (). The following is a comment I added to my practice code. Instead of seeing the String I get a box that says "looks like your program needs some input". What am I missing please as this generic message would be useless to the end user? # input box - this is not working as I expected as you don't see the text string "Enter something:" until the print statement. userInput = input("Enter something:") print(userInput)
5 Respuestas
+ 12
This is the limitation of Sololearn's code playground.
Try running on an exteenal application.
BTW it appears AFTER your input
+ 8
Mind my bad spelling
+ 6
install qpython3 for android...
+ 5
if you use it at your computer you will see it but here the engine of sololearn is not showing it till you press enter
do not brother yourself you do right
ah by the way fyi if you need to input more than one data press enter and make second line before submit
+ 3
Thank you both, at least I know I'm not going crazy :)