Question: Please read Chapter 4 , and practice code in it . Then please develop a program printing three pizzas names, that are in the list.

Please read Chapter 4, and practice code in it.
Then please develop a program printing three pizzas names, that are in the list.
Run
Debug
Stop
E Share
H Save
() Beautify
main.py
3 # print them using FOR loop
4 # combine the wording "My tasty pizza" with pizza names, while
5 # use formatted string for that f''..."
6 pizzas=["pepperoni", "three-chease", "mushroom"]
7 fprint(pizzas)
8- for onepizza in pizzas:
9 print(f"My tasty pizza {onepizza}")
My tasty pizza pepperoni
My tasty pizza three-chease
My tasty pizza mushroom
My tasty pizza 1 is pepperoni
My tasty pizza 2 is three-chease
My tasty pizza 3 is mushroom
We created a similar program in class, you see it here in the picture, but for the homework, please add a numeric value - count to your print, such as
My favorite pizza 1 is Pepperoni
My favorite pizza 2 is Mushroom
 Please read Chapter 4, and practice code in it. Then please

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!