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 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
# print them using FOR loop
# combine the wording My tasty pizza" with pizza names, while
# use formatted string for that
pizzaspepperoni "threechease", "mushroom"
fprintpizzas
for onepizza in pizzas:
printfMy tasty pizza onepizza
My tasty pizza pepperoni
My tasty pizza threechease
My tasty pizza mushroom
My tasty pizza is pepperoni
My tasty pizza is threechease
My tasty pizza 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 is Pepperoni
My favorite pizza is Mushroom
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
