Sarah is preparing for a birthday party. She bought decorations for $50, a cake for $30, and party favors for $20. Write a Python program to calculate the total money Sarah spent on all the items.
name.decorations_cost and set it to 50.cake_cost and set it to 30.party_favors_cost and set it to 20.decorations_cost, cake_cost, and party_favors_cost.total_cost.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!
