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?
5 Réponses
+ 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
0
thanks bro
0
This is just type conversion
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?
0
are u using this code in playground app?