+ 1
what's the problem ?
s = input("Enter something please: ") print(s) I run the code , and I input "my name is" ... but after I submit it , it just show "my" how can I save " " (space) in input ?
6 Respostas
+ 4
instead of input use raw_input
+ 3
use latest Python..your code is perfect..maybe the version is outdated
+ 2
s= str(input("Enter something please: ")
print(s)
Try this code!
+ 2
Are you using Python 2 or 3?
+ 2
You can save your input as a string then, like @sundar said, and then print the string value.
+ 1
python 3