how to use a for loop within a list in python code example Example: python loop through list list = [1, 3, 6, 9, 12] for i in list: print(i)