Question: solve in python language please Write a program that simulates a simple e-commerce checkout process. The program should prompt the user to enter the number
Write a program that simulates a simple e-commerce checkout process. The program should prompt the user to enter the number of items. Then the user has to enter the item name, price, and quantity for each item they want to purchase. The program should then calculate the total cost of the order, including any applicable taxes and shipping fees, and display the final cost to the user. The program should also have the following features: - Allow the user to enter a discount code that applies a percentage discount to the total order: Available discount codes are: - SAVE10: 10\% - GET5: 5% - Apply 5\% VAT tax rate if the user's location is UAE. The program should prompt the user to enter their location (e.g. country), and then apply the appropriate tax rate. - Offer different shipping options, each with a different cost. The program should prompt the user to select a shipping option, and then add the appropriate shipping fee to the order total. Inside UAE: - Standard (5.00 AED) - Express (10.00 AED) - Overnight (15.00 AED) Outside UAE: - Standard (100.00 AED) - Express (150.00 AED)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
