+ 1
Python input()
Why can't you use input() more than one time without an error?
5 Respuestas
+ 9
Please use the search bar!
https://www.sololearn.com/Discuss/2586293/?ref=app
https://www.sololearn.com/discuss/2585738/?ref=app
+ 6
zShxrinqan , please link your code here, so that we can clearly see what the issue with your code is. We also don't know whether you are running your code in playground or in a local IDE. Can you kindly share all this with us? Thanks!
+ 2
You can't do that in Sololearn.
All inputs must be made before running the code, which means you must set up an escape from the loop before starting to input
+ 1
Ok and how to use it multiple times when running a loop?
like
while True:
Input = input()
for char in list(Input):
print(char)
0
It works without error.If inputs are in burst lines .
Like this:
Input()
Input()
You must fill them in single input and in burst lines.