python program start by entering the player name, the mobile number, game category and the number of players. The number of players will indicate the number of times the registration fee will be entered by the user. Store the registration fee in a list called registration. The meal budget has a fixed value of 2.5 OMR The uniform allowance has a fixed value of 20.5 OMR The total expenses is computed as registration fee multiplied to number of players plus uniform allowance. Store the total expenses in a list called expenses. The refund is computed based on the game category as shown in the table below: Game category Refund Soccer 5.5% of the total expenses minus t
write python
The meal budget has a fixed value of 2.5 OMR
The uniform allowance has a fixed value of 20.5 OMR
The total expenses is computed as registration fee multiplied to number of players plus uniform allowance. Store the total expenses in a list called
expenses.
The refund is computed based on the game category as shown in the table below:
Game category |
Refund |
Soccer |
5.5% of the total expenses minus the meal budget |
Tennis | 7.5% of the total expenses minus the meal budget |
Volleyball | 9.75% of the total expenses minus the meal budget |
Other inputs | 0 |
Store the refund price in a list called refund.
Compute for the bill. The bill is computed using the formula, total expenses minus refund. Store the bill in a list called Bill.
You are requested to display the following outputs:
a. the value of the four lists. (registration, expenses, refund, Bill);
b. the highest expenses;
c. the registration fee from highest to lowest (descending); and
d. the lowest refund.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps