Ethan owns a toy store. He sold 15 toy cars for $5 each, 10 teddy bears for $8 each, and 5 dolls for $10 each. Write a Python program to calculate the total revenue Ethan made from selling toys.
name
.num_cars
and set it to 15.car_price
and set it to 5.num_bears
and set it to 10.bear_price
and set it to 8.num_dolls
and set it to 5.doll_price
and set it to 10.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!