-
Notifications
You must be signed in to change notification settings - Fork 239
Open
Description
The aim of this project is to develop a Python program that calculates the total cost of purchased items in a shopping cart and applies a discount based on the total amount. The program should:
- Allow the user to enter the name and price of each purchased item.
- Store the items and their prices in a dictionary.
- Calculate the total amount of all purchased items using built-in functions.
- Apply a 10% discount if the total bill exceeds ₹500.
- Display the final bill, the discount amount (if applicable), and the name of the most expensive item purchased.
The program should provide a clear and well-formatted output so that the user can easily understand the billing details.
Metadata
Metadata
Assignees
Labels
No labels