+ 2
I can't seem to get the input to output more the one word what am I doing wrong
11 Respuestas
+ 1
Use this :
print("Enter a line : ",end="")
Line=str(input())
print("The Line is : {0}.".format(Line))
0
Please describe your question precisely.
0
when the pop up appears saying the programme needs an input. I tried typing in a short sentence but it only outputs the first word of the sentence. How can I get it to out put the whole sentence I wrote
0
sounds like you need something that will iterate through the list.
0
Me pasa lo mismo
0
post your code?
0
same problem here
0
same here
0
Hi guys, I am facing two problems:
1) input() function is taking first word. Doesn't take blank space and words after that.
2) I was trying to use input() function to take two user inputs in different variables. It takes first one and throw error in 2nd input().. if I comment 1st input(), the 2nd input() is working fine.
I am sure there is no syntactical issues. pls help!
0
same problem... i guess this is the problem with the code playground itself
0
s = input("Enter something please: ")
print(s)
same problem with this code, when I run it an window pops up asking for input, and when I type a sentence, it only displays the first word in the output