lista = input().split()print(lista)for i in range(len(lista)): lista[i] = int(lista[i])print(lista)
123 456 234 234 63
['123', '456', '234', '234', '63'] [123, 456, 234, 234, 63]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!