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:
1. Create PY file for the assignment solution and save it as StudentName_Assign4.py
2. Create a program that fulfils the following requirements:
a) The program MUST exactly generates the below screenshots.
b) Asks for the users 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.
d) The price is calculated based on the number of toppings
One topping = $8
Two toppings = $10
Three toppings = $12
Four toppings or Everything = $14
e) Prints to the screen the users name, a listing of the toppings they chose, and the
total price.
f) You must comment your code to make it clear and easy to understand. Additionally, add the following at the top of the program.
Name of programmer
Date program written
Short description of purpose of program

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_2

Step: 3

blur-text-image_3

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

Essential SQLAlchemy Mapping Python To Databases

Authors: Myers, Jason Myers

2nd Edition

1491916567, 9781491916568

More Books

Students also viewed these Databases questions

Question

Differentiate between formal and informal groups.

Answered: 1 week ago

Question

How Well GDP Measures the Well-Being of Society

Answered: 1 week ago

Question

Show the properties and structure of allotropes of carbon.

Answered: 1 week ago

Question

3. Explain the process of how loans undergo securitization. LOP8

Answered: 1 week ago