I need a help, let's say I have the following list:
lista = [1,2,3,4,5,[6,7,8,9],10,11,12,13,14,15]
If I want to print each of the items in this list I would do one:
for i in lista:
print(lista)
So far so good. However, I wanted to know how I can do the same for the list that is in the list.
I thought the following code, however, is not working:
for i in lista:
for i in lista:
print(i)
Can anyone help me with this problem?