Posts by Pedro H. • 29 points
1 post
-
1
votes1
answer263
viewsQ: Why doesn’t this python code work?
list = [ 1, 2, 3, [7, 8, 10, [1, 2, 3, 5]], 1, [2, 3, 9]] for a in list: print(type(a)) if type(a) == list: print('E lista') I don’t understand why it doesn’t work, can someone explain to me?…
python-3.xasked Pedro H. 29