Answered step by step
Verified Expert Solution
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 StudentNameAssignpy
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 as shown in the following screenshots.
d The price is calculated based on the number of toppings
One topping $
Two toppings $
Three toppings $
Four toppings or Everything $
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started