Emma is planning a garden. She bought 3 packs of seeds for $5 each, a watering can for $15, and gardening gloves for $10. She also received a $10 discount on her total purchase. Write a Python program to calculate the total money Emma spent after the discount.
name.seed_cost and set it to 5.num_seeds and set it to 3.watering_can_cost and set it to 15.gloves_cost and set it to 10.discount and set it to 10.seed_cost by num_seeds.watering_can_cost, and gloves_cost.total_spent.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!
