Question 6: Project

Lily is running a lemonade stand and wants to create a program to help customers calculate the total cost of their purchases. She wants to offer discounts for bulk purchases to encourage customers to buy more. Write a Python program to assist Lily with her calculations.

Here are the pricing rules for Lily’s lemonade stand:

  • Single Lemonade: Customers can purchase a single glass of lemonade for $2.
  • Bulk Discount: Customers receive a 20% discount if they buy more than 5 glasses of lemonade.

Write a Python program that prompts customers to enter the quantity of lemonade glasses they want to purchase, calculates the total cost, and applies any applicable discounts.

Write what you are looking for, and press enter to begin your search!