#Copying Lists

my_pizzas = ['cheese', 'sausage', 'pepperoni']
friends_pizza = my_pizzas[:]  #Copying my_pizzas list

my_pizzas.append('ham')
friends_pizza.append('pineapple')

#For loop to show the lists have both been changed seperately
print('My favorite pizzas are: ')
for pizza in my_pizzas:
    print(pizza)
    
print('\nMy friends favorite pizzas are: ')  
for pizza in friends_pizza:
    print(pizza)
e8f77166e61e705f2b7437a27521d7899a838c26
<mask token>

<mask token>
my_pizzas.append('ham')
friends_pizza.append('pineapple')
print('My favorite pizzas are: ')
for pizza in my_pizzas:
    print(pizza)
print("""
My friends favorite pizzas are: """)
for pizza in friends_pizza:
    print(pizza)

my_pizzas = ['cheese', 'sausage', 'pepperoni']
friends_pizza = my_pizzas[:]
my_pizzas.append('ham')
friends_pizza.append('pineapple')
print('My favorite pizzas are: ')
for pizza in my_pizzas:
    print(pizza)
print("""
My friends favorite pizzas are: """)
for pizza in friends_pizza:
    print(pizza)

#Copying Lists

my_pizzas = ['cheese', 'sausage', 'pepperoni']
friends_pizza = my_pizzas[:]  #Copying my_pizzas list

my_pizzas.append('ham')
friends_pizza.append('pineapple')

#For loop to show the lists have both been changed seperately
print('My favorite pizzas are: ')
for pizza in my_pizzas:
    print(pizza)
    
print('\nMy friends favorite pizzas are: ')  
for pizza in friends_pizza:
    print(pizza)