номер для перечисления в Python
# Declare a number
a = 12345
#Number to list
a_list = [int(x) for x in str(a)]
Successful Starling
# Declare a number
a = 12345
#Number to list
a_list = [int(x) for x in str(a)]