+ 2

Takes multiple inputs by user & store in list

write a python programme. which takes some numbers as input by user & then the numbers are stored in a empty list & then print that list.

12th Apr 2017, 3:20 PM
Aacharan Jain
Aacharan Jain - avatar
1 ответ
+ 7
lista = [input('Enter a number: ') for i in range(10)] print(lista)
12th Apr 2017, 3:34 PM
Kuba Siekierzyński
Kuba Siekierzyński - avatar