+ 1
PLEASE REPLY
Why is it that the input() isn't working for me?
5 Antworten
+ 6
Do not create duplicate posts.
As already mentioned:
SHOW YOUR CODE.
"It isn't working" is not informative.
https://www.sololearn.com/Discuss/3334068/?ref=app
+ 3
Either specify your issue, show your code or read the documentation. Spamming questions like this will not help you
+ 1
Are you talking about your code?
https://sololearn.com/compiler-playground/czBafihowPC5/?ref=app
When you run the program inside the playground, there is an input box. And it says your inputs should be provided in there. If there are more than one input, the next one should place on a separate line.
For your code, there is an error in line 5. If you want to print the value of the variable "message", remove the quotes. Otherwise it is a string.
0
It shouldn’t be indented. If it is, then it’s the problem
0
When you do input(), do you see a little input prompt box after you try run the code?
You must enter some text into that box and the code will run with that as the 'stdin buffer'.
Anyway, python is lame. I suggest you quit that immediatly and try some non-pseudocode languages.