Sam is managing a supermarket and wants to create a program to help customers calculate the total cost of their grocery purchases. He wants to implement some special pricing rules for certain items. Write a Python program to assist Sam with his calculations.
Here are the pricing rules for Sam’s supermarket:
Write a Python program that prompts customers to enter the quantity of regular and special items they want to purchase, calculates the total cost, and applies any applicable discounts.
We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!