Here is my code:
def numbers_in_lists(string):num = int(string)l = list(num)return lstring = '543987'
When i run it:
print numbers_in_lists(string)
I have the following error:
l = list(num)
TypeError: 'int' object is not iterable
How can i fix this?
Thanks.