"""This is the nester.py module and it provides one function called print_lol()
which prints lists that may or may not include nested lists"""
def print_lol(the_list,level):
"""This function takes one postional argument called this list, which is any python list.
Each data item in the provided list is (recursively) printed to the screen on it's own line."""
for each_item in the_list:
if isinstance(each_item,list):
print_lol(each_item)
else:
for tab_stops in range(level):
print("\t", end='')
print(each_item)
每次check,都会在print("\t",end='')中的=出现invalid syntax