Question: ( in python ) There are three seating categories at a stadium. Class A costs $ 3 0 , Class B costs $ 2 5

(in python)There are three seating categories at a stadium. Class A costs $30, Class B costs $25, and Class C
costs $20. Write a program that asks how many tickets for each class were sold. Then call a
function that calculates (and returns) the total income from ticket sales.
2. Write a program that takes in how many miles a person has driven. Then call a function that
calculates (and returns) how many kilometers they drove. (Hint: 1 mile =1.60934 kilometers).
3. Write a program that takes as input how many hours and minutes a person worked in a day.
Then call a function that calculates (and returns) how many seconds they worked

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!