lst = [1,2,5,7,8] #option 1 i = 0 while i < len(lst): print(lst[i]) i = i + 1 #option 2 for i in range(len(lst)): print(lst[i]) #option 3 for item in lst: print(item)