我是学习 python 3 的新手,并要求帮助代码:
movies = ["holy grail",1975,"terry jones",91
[ "gramham chamman",
["michael palin","john crees","eric idle","terry jones"]]]
for each_item in movies:
if isinstance (each_item,list):
for nested_item in each_item :
print (nested_item)
else:
print (each_item)
# when i type the next line with " else : "
the program (python shell) told me syntax error
不知道怎么解决 非常感谢