Curso_Intensivo_de_PYTHON/chapter_04/foods.py
2023-06-02 17:22:53 +02:00

11 lines
249 B
Python

my_foods = ['pizza', 'falafel', 'carrot cake']
friend_foods = my_foods[:]
my_foods.append('cannoli')
friend_foods.append('ice cream')
print("My favorite foods are:")
print(my_foods)
print("\nMy friend's favorite foods are:")
print(friend_foods)