Answered step by step
Verified Expert Solution
Question
1 Approved Answer
USE PYTHON LANGUAGE PLEASE Problem 2 (6 Marks): Write a program that simulates a simple e-commerce checkout process. The program should prompt the user to
USE PYTHON LANGUAGE PLEASE
Problem 2 (6 Marks): 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. o 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started