Python membuat integer ke dalam daftar
res = [int(x) for x in str(num)]
CollinsCode
res = [int(x) for x in str(num)]