# magicians = ['alice', 'david', 'carolina']
# for magician in magicians:
#     print(magician.title())
#
# mag1 = magicians.pop()
# print("popped magician is " + mag1 + '.')
# print(magicians)
# print("\n")
#
# magicians.append('carolina')
# for magician in magicians:
#     print(magician.title() + ", that was a great trick!")
#     print("I can't wait to see your next trick, " + magician.title() + ".\n")
#
# print("Thank you, everyone. That was a great magic show!")

# # PIZZA           # TIY 4-1
# pizzas = ['Hawaiian BBQ', 'Pepperoni & White Sauce', 'Buffalo Chicken', 'Canadian Bacon, Stuffed Crust', "Meat Lover's"]
# for pizza in pizzas:
#     # print(pizza)
#     print("Well, actually, I guess " + pizza + " pizza is my favorite type of pizza...")
#
# print('Pizza is the best!')
#
# animals = ['dog', 'cat', 'ferret', 'pig', 'chicken', 'duck']      # TIY 4-2
# for animal in animals:
#     # print(animal)
#     print('A ' + animal + ' makes a great pet for my sister.')
#
# print('Even though not all of these animals are customary pets.')

# # NUMERICS
# squares = []
# for value in range(1, 11):
#     # square = value**2
#     # squares.append(square)
#     squares.append(value**2)
#
# print(squares)
#
# digits = list(range(1,10))
# digits.append(0)
# # print(digits)
# print(min(digits))
# print(max(digits))
# print(sum(digits))
#
# for value in range(1,21):     # TIY 4-3
#     print(value)
#
# millions = list(range(1,1000001))     # TIY 4-4 and 4-5
# # for value in millions:
# #     print(value)
# print('Min is:')
# print(min(millions))
# print('Max is:')
# print(max(millions))
# print('Sum is:')
# print(sum(millions))
#
# odds=[value for value in range(1,21,2)]     # TIY 4-6
# for value in odds:
#     print(value)

# Threes                                    # TIY 4-7
threes=list(range(3,31,3))
for value in threes:
    print(value)


