for item in "Python":
    print(item)


for item in ["John", "Sarah", "Jane", "Simon"]:
    print(item)

for item in [1, 2, 3, 4]:
    print(item)

for item in range(2, 10, 2):
    print(item)


# Exercise
prices = [10, 20, 30]
total = 0

for item in prices:
    total += item

print(f"The total of all prices is: {total}.")