Posts by Jansen • 1 point
1 post
-
0
votes0
answers15
viewsQ: How do I know if a list item is another list?
I’m wondering if it’s possible to check if an element of a list is another list, for example: lista = [0, [1, 2], 3] If possible, how do I go through this sub-list? for example, if I do: for…