+ 8
You can take more than 1 input just take all numbers at once; new numbers on a newline. try it like below or something similar i1 = int(input()) i2 = int(input()) print(i1, i2) input =>1 2 output =>1 2
4th Jan 2018, 11:42 AM
Lord Krishna
Lord Krishna - avatar
+ 8
#It does work. did you give 100 numbers all in the next line when asked for input? a=[] for i in range(2): x=int(input("enter no. ")) a.append(x) print(a)
4th Jan 2018, 12:06 PM
Lord Krishna
Lord Krishna - avatar