I\'m new to python and I\'m trying to scan multiple numbers separated by spaces (let\'s assume \'1 2 3\' as an example) in a single line and add it to a list of int. I did i
Try using join on a str conversion of your ints:
print ' '.join(str(x) for x in array)