for each_item in movies: if isinstance (each_item, list): for nested_item in each_item: print(nested_item) else:
SyntaxError: invalid syntax
Any idea why this is happening?
Consequently, I also tried playing with
dir(_builtins_)in the python / IDLE shell and it gave me the following error-
Traceback (most recent call last):
File "<pyshell#97>", line 1, in <module>
NameError: name '_builtins_' is not defined
I'm stuck! Please Haaaalllllppppp!