+ 1
Why cant i read string inpit from user??
s= input("enter string") print(s)
5 Réponses
+ 1
instead of input if i type raw_input i will get the output... otherwise it pops out an error msg
0
Any error messages? I am running 3.5.2 and your code works if those are double quotes. Have you tried saving as a file and running it?
0
In addition if you are in the shell, you have to press enter before the print(s) statement. If you have done all this then I do not know. Sorry
- 1
I dunno. Try this type of question:
"I have python version X, OS type- Q, I have error Y, interpretor error text is Z, I googled W but didnt find out."
- 1
So you have old python version, congrat!