+ 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.
1 Resposta
+ 7
lista = [input('Enter a number: ') for i in range(10)]
print(lista)