Question: Write a PYTHON program to calculate the amount of money to be paid. according to the conditions for the discount rate according to the conditions


Write a PYTHON program to calculate the amount of money to be paid. according to the conditions for the discount rate according to the conditions set forth in the table along with displaying the results according to the sample run results Run1 Enter product price: 8 Enter number of goods: 3 Goods 8.0 baht for 3 pieces =22.80 baht . run2 Enter product price: 8 Enter number of goods: 6 Goods 8.0 baht for 6 pieces =40.80 baht. run 3 Enter product price: 15 Enter number of goods: 4 Goods 15.0 baht for 4 pieces =45.00 baht. Run4 Enter product price: 15 Enter number of goods: 6 Goods 15.0 baht for 6 pieces =58.50 baht
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
