Tim is opening a virtual pet shop where users can adopt virtual pets and buy various items for them. He wants to create a program to calculate the total cost for users based on their selections. Write a Python program to help Tim with his virtual pet shop calculations.
Tim’s virtual pet shop offers the following items:
Additionally, Tim wants to offer a discount of $5 for users who spend more than $50 in total.
Write a Python program that prompts users to select the items they want to purchase and calculates the total cost, including any applicable discounts.
We’re always looking for international STEM educators to join our team. If you are interested, please send us a mail and we’ll get back to you!
If you have any questions, kindly send us a mail. Don’t forget to follow and like all our social accounts to get updates on competitions!