Ava baked and sold cupcakes. She made 40 cupcakes and sold each for $2.50. The cost to make each cupcake was $1.25. Write a Python program to calculate Ava’s total revenue and profit.
name
.num_cupcakes
and set it to 40.selling_price
and set it to 2.50.cost_price
and set it to 1.25.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!