python loop list and get element code example Example: python loop through list list = [1, 3, 6, 9, 12] for i in list: print(i)