iterating though a list in python code example Example: iterate through a list my_list = ["Hello", "World"] for i in my_list: print(i)