Lily receives a weekly allowance from her parents and spends it on various activities. She wants to track her spending and calculate the total spent, the average amount spent per activity, and the remaining balance. Write a Python program to help Lily with her calculations.
name
.spending
.allowance
.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!