# # string
# mystr = 'shawn'
# print(mystr)
#
# # list
# mylist = ["List item 1", 2, 3.14]
# print(mylist[0:2])
# # step
# print(mylist[::2])
#
# # isinstance
# names = ['shawn', 'yan']
# print(isinstance(names, list))

# for each
movies = ["the holy grail", 1975, "terry jones & terry gilliam", 91,
          ["graham chapman",
           ["michael palin", "john cleese", "terry gilliam", "eric idle", "terry jones"]]]
print(movies)
# for each_item in movies:
#     print(each_item)

# # recurrence
# 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)
# """This is comment."""


