Categories: Uncategorized

python code

Page 1 of 4 Mail Delivery Service (40 Points) DUE: Wednesday, September 30th by 11:59 pm Submission: Email all Python files (.py) to npipop@wuv.edu Importance: The application and Python code must be your own to qualify for grades. Do not share your code with your classmates. 1. Create a Python application, Delivery1.py for a delivery service. The program should prompt the user for the

following inputs. • A code representing the delivery area. A local delivery is code 1, and a long distance delivery is code 2. • A weight, in pounds of the item to be delivered. The program will then display the fee for the item based on the delivery type and its weight. The fee for the delivery, as follows:

Don't use plagiarized sources. Get Your Custom Essay on
python code
Get an essay WRITTEN FOR YOU, Plagiarism free, and by an EXPERT! Just from $10/Page
Order Essay

Distance Weight Fee ($) 1 Under 5 pounds 12.00 1 5 to 20 pounds 16.50 1 Over 20 pounds 22.00 2 Under 5 pounds 35.00 2 5 pounds or more 47.95

For examples: (These outputs are from different runs. They are not from a loop.)

 

 

 

 

 

 

 

Page 2 of 4 2. Create Delivery2.py by modifying the Delivery1.py so that it repeats the entire task for 5 times. You must use a

loop for your repetition. For example:

 

 

 

Page 3 of 4 3. Create Delivery3.py so that the program will prompt to ask the user whether the user would like to continue or

not. For example:

 

 

 

Page 4 of 4 4. Create Delivery4.py by modifying the Delivery3.py so that the program will also compute the followings and

display the results at the end of the program.

• Total amount and fee of local delivery items • Total amount and fee of long distance delivery items • Total fee of delivery services

For example:

Phyllis Njino

Recent Posts

Patterns of Knowing | Nursing Theory

Nursing Theory  Read Ch. 7  (Hood) Click the following link to view the Clayton State University…

1 week ago

communication MA | Solution Aider

part one For this assignment you are to to watch: Shattered Glass Write a two…

4 years ago

Standard Project – WebServers | Solution Aider

Standard Project - WebServers. Instruction attached. Need all requirements, you do not have to make…

4 years ago

Discussion post 2 | Solution Aider

Read classmates post and respond with 100 words:The International Categorization of Diseases, Tenth Revision, Clinical…

4 years ago

case sttudy | Solution Aider

Most Americans have at least 1 issue that is most important to them. Economic issues…

4 years ago

Methodologies Report | Solution Aider

For this assignment, you are the court intake processor at a federal court where you…

4 years ago