# coding: utf-8
"""
Created on 12.9.2021 19:13
@author: setu1d

"""

# 4-11. My Pizzas, Your Pizzas: Start with your program from Exercise 4-1 
# (page 56). Make a copy of the list of pizzas, and call it friend_pizzas. 
# Then, do the following:
# •	 Add a new pizza to the original list.
# •	 Add a different pizza to the list friend_pizzas.
# •	 Prove that you have two separate lists. Print the message My favorite 
# pizzas are:, and then use a for loop to print the first list. Print the message 
# My friend’s favorite pizzas are:, and then use a for loop to print the second list.
# Make sure each new pizza is stored in the appropriate list.

my_pizzas = ['syrova', 'oravska', 'special']
friend_pizzas = my_pizzas[:]

my_pizzas.append('olivova')
friend_pizzas.append('kukuricova')

print("My favorites pizzas are: ")
for pizza in my_pizzas:
    print(pizza)
    
print("\nMy friend's favorite pizzas are: ")
for pizza in friend_pizzas:
    print(pizza)