+ 2

How "While" can be used as accepting user input?

Python 3

10th Dec 2016, 7:36 AM
Aurum Titan
Aurum Titan - avatar
2 Answers
+ 4
while 1==1: input() #I don't think this will work very well though lol
10th Dec 2016, 7:48 AM
Ahri Fox
Ahri Fox - avatar
+ 1
if you want to take regular input continuously do while True: input(any) or for 5 times times=5 start=1 while start<=times: input() start=start+1
10th Dec 2016, 12:26 PM
Sun
Sun - avatar