Question: Practice Assignment Ch . 2 - 1 Write a Python program to do the following: 1 . Write a 1 - 2 line comment at

Practice Assignment Ch.2-1
Write a Python program to do the following:
1. Write a 1-2 line comment at the beginning of your program
2. In three separate input statements, ask the user to enter the costs for the following items: Hamburger, Fries,
Shake.
3. Calculate the total cost and display with appropriate message (Example: The cost is: $45)
4. Calculate the average cost and display with appropriate message (Example: The average cost is: $15)
5. Note: Dont worry about displaying cents to 2 decimals.
6. Turn in your program to the practice assignment link in course content.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres how you can write a Python program to complete the tasks as given in the assignment python Thi... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!