From 23a41bbd1a6500284862afbc076a97c5b721ecfb Mon Sep 17 00:00:00 2001 From: cheeks <134818917+leftovertoast@users.noreply.github.com> Date: Mon, 20 Jan 2025 23:16:15 -0500 Subject: [PATCH] Completed 4-1 Pizzas --- Chapter_04/4-1_pizzas.py | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 Chapter_04/4-1_pizzas.py diff --git a/Chapter_04/4-1_pizzas.py b/Chapter_04/4-1_pizzas.py new file mode 100644 index 0000000..868fb61 --- /dev/null +++ b/Chapter_04/4-1_pizzas.py @@ -0,0 +1,9 @@ +# Exercise 4-1 Pizzas +# Learning Objective: Utilize a for loop with a list. + +favoritePizzas = ['Meat lovers', 'White with Spinach and Feta', 'Pepperoni'] + +for pizza in favoritePizzas: + print(f"I like {pizza} pizza. \n") + +print("I really love pizza!") \ No newline at end of file