Hi!
How can I check if some list is nested?
I have a list:
mylist = ['a', 'b', 'c']
then I make a change:
mylist[0] = ('a1', 'a2')
Now I have nested list:
[('a1', 'a2'),'b', 'c']
When I want to loop through mylist and print it, I need to check somehow if some list index is nested or not because...