+ 1
Guys, how do u put input in a while loop without making it saying EOF?
2 Réponses
+ 3
word = input()
while word != "end":
print(word)
word = input()
#Remember that Sololearn requires all inputs to be entered before running
+ 2
With the help of exception handling
In Python Core tutorial,
Visit "Exceptions & Files" chapter ...
https://www.sololearn.com/learn/Python/2440/