Solution 2: Python Essentials
Let’s look at the solution to the challenge related to Python essentials.
We'll cover the following...
Function to calculate a receipt
You are a loyal customer, and a store is offering discounts to their loyal customers:
- For a purchase between 0 & 50 CAD, you get a 10 % discount.
- For a