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