A group of friends decided to spend a day practicing good behavior by helping others in their community. Each friend had $200 saved up. Write a Python program to calculate how much each friend has left after contributing to different charitable activities.
Start by defining the initial amount saved as saved_amount
and set it to 200.
charity_donation
.gifts_cost
.cleanup_cost
.refreshments_cost
.charity_donation
, gifts_cost
, cleanup_cost
, and refreshments_cost
.saved_amount
to find the remaining balance.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!