movies = ["The Holy Grails", "1975", "Terry Jones & Terry Gillium", 91,
          ["Graham Chapman",
           ["Michael Palin", "John Cleese", "Terry Gillium", "Eric Idle", "Terry Johnes"]]]
""" 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):

    for each_item in the_list:
        if isinstance(each_item, list):
            print_lol(each_item)
        else:
            print(each_item)


print_lol(movies)
