Jake owns a fruit stand. He sold 30 apples for $2 each, 20 bananas for $1 each, and 15 oranges for $3 each. Write a Python program to calculate the total revenue Jake made from selling fruits.
name
.num_apples
and set it to 30.apple_price
and set it to 2.num_bananas
and set it to 20.banana_price
and set it to 1.num_oranges
and set it to 15.orange_price
and set it to 3.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!