Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Description For this assignment, your goal is to write code in python to covert and manipulate data using techniques taught in class. You are required

Description
For this assignment, your goal is to write code in python to covert and manipulate data using
techniques taught in class. You are required to create a program that manipulates data types to
order a pizza. The program must:
ask the user for the name
ask the user to select any variety of toppings for a pizza
calculate the total cost of the pizza
print a message to the user summarizing their pizza order
Instructions
To successfully complete this assignment, carefully follow these instructions:
Create PY file for the assignment solution and save it as StudentName_Assign4.py
Create a program that fulfils the following requirements:
a) The program MUST exactly generates the below screenshots.
b) Asks for the user's name.
c) Presents a list of toppings and asks the user to select toppings until the user selects
the "Exit - option 0" as shown in the following screenshots.
Scenario 1: User does not select a topping and choose 0
Please enter a name: Hamdy Ibrahim
Please select a topping (1-5) and 0 to exit
1- Cheese
2- Mushroom
3- Pineapple
4- Chicken
5- Everything
0- Exit
>0
Customer Name is Hamdy Ibrahim
You selected: []
Your total is $0
Have a wonderful day
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle RMAN For Absolute Beginners

Authors: Darl Kuhn

1st Edition

1484207637, 9781484207635

More Books

Students also viewed these Databases questions