lista = []for i in range(5): liczba = int(input()) lista.append(liczba)print(lista)
4 5 6 1 2
[4, 5, 6, 1, 2]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!