Python transforme entier une liste
res = [int(x) for x in str(num)]
CollinsCode
res = [int(x) for x in str(num)]