how to change a int to list code example Example: python make integer into a list res = [int(x) for x in str(num)]