converting integer to list in python,[int(x) for x in str(num)]