به طور مثال :
my_int = 13579 my_list = [int(x) for x in str(my_int)] print(my_list) # 👉️ [1, 3, 5, 7, 9]