I'm new on python and I need to split a input number into a list with 2 digits elements and I think there should be an easyer way to do that.
My code is like this:
num = int(input("Número: "))
list = [int(i) for i in str(num)]
print(list)
The result is:
Número: 34676585535435678
[3, 4, 6, 7, 6, 5, 8, 5, 5, 3, 5, 4, 3, 5, 6, 7, 8]
But I need this:
[34, 67, 65, 85, 53, 54, 35, 67, 8]
Any sugestion, please?