Sep-15-2017, 05:51 PM
I also like simplifying things!
>>> arr = list(map(int, input("List of numbers: ").split(","))) List of numbers: 3,4,52,3,2,1 >>> arr [3, 4, 52, 3, 2, 1]