0

Why doesn't Input() work in array?

I'm very green so excuse me if this is a stupid question... But why doesn't the following code prompt 4 input boxes one after each other? Qs = [input(),input(),input(),input()] i = 0 number = len(Qs)-1 while i <= number: question = Qs[i] print(question) i=i+1

21st Feb 2017, 11:18 PM
Thomas Barratt
Thomas Barratt - avatar
1 ответ
0
because I believe that is too many inputs at one time that doesn't allow it to be accessed correctly, disabling input commands in general
25th Feb 2017, 8:32 PM
Trey Sarver
Trey Sarver - avatar