magicians = ['alice', 'davia', 'carolina']
for magician in magicians:
    # print(magician)
    print(magician.title() + ', that was a great trick!')

# print("I can't wait to see your next trick, "+magician.title()+".\n")
# Alice, that was a great trick!
# Davia, that was a great trick!
# Carolina, that was a great trick!
# I can't wait to see your next trick, Carolina.

# 每个缩进的代码行都是循环的一部分
    print("I can't wait to see your next trick, "+magician.title()+".\n")
# Alice, that was a great trick!
# I can't wait to see your next trick, Alice.

# Davia, that was a great trick!
# I can't wait to see your next trick, Davia.

# Carolina, that was a great trick!
# I can't wait to see your next trick, Carolina.
print("Thank you, everyone. That was a great magic show!")
