Question: Create a Python program that serves as a tip calculator for a restaurant patron. The program should ask the user to provide 2 pieces on
Create a Python program that serves as a tip calculator for a restaurant patron. The program should ask the user to provide pieces on information: the amount of the bill and the percentage tip desired. Then, the program should print some nicelyformatted output that includes pieces of information:
the dollar amount of the bill provided by the user
the percentage tip provided by the user
the dollar amount of the tip calculated
the subtotal the sum of the bill and tips
tax tax equals of bill
the total amount to pay, including the tip calculated
Your program should follow the inputprocessingoutput pattern. Each numeric value shown in the output section should be rounded to places after the decimal point.
NOTE: You should be sure to show all dollar amounts with two digits after the decimal point.
Suggestions:
Remember that you will need to work with floating point numbers for the calculated results to be correct, so you will need to use the 'float function.
Remember that the 'format function can be used to convert numerical values to formatted strings. Refer to Section in the textbook andor to sample programs linked from the Week samples page.
Be sure to include a complete comment block at the beginning of the program. Use comments within the code as you deem appropriate.
Follow this example of the output
LabPNG
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
