0

suppose I m giving input "my name" than the output that comes is only "my" how can I get whole sentence using input function?

13th Jul 2016, 5:37 AM
Gaurav Kumar Tiwari
Gaurav Kumar Tiwari - avatar
5 ответов
+ 1
can you share the code. because the question is not specific anyway I just assume that you have issue with input so I'll give u the sample code my_input = str(input("enter your name")) print(my_input) this would convert your input to string and print it out
13th Jul 2016, 5:44 AM
sundar
sundar - avatar
0
thanks bro
13th Jul 2016, 5:48 AM
Gaurav Kumar Tiwari
Gaurav Kumar Tiwari - avatar
0
This is just type conversion
13th Jul 2016, 5:49 AM
sundar
sundar - avatar
0
sundar I tried this but only the first word popped up. the pop up page tells us to separate multiple inputs using spaces. that may be the reason right?
19th Jul 2016, 11:05 PM
Dan-Awoh Emmanuel
Dan-Awoh Emmanuel - avatar
0
are u using this code in playground app?
20th Jul 2016, 2:25 AM
sundar
sundar - avatar