Upload your solution as a .py file. Write a python program (…

Questions

Uplоаd yоur sоlution аs а .py file. Write a python program (no need to write a function) that reads the user's age as an integer value, as well as a string representing the type of seating at an event. This string is guaranteed to always be either 'regular' or 'premium' spelled exactly like this. Your program will then display the price of the ticket, taking into consideration the type of seating and the age of the user. The rules to determine the price of the ticket are as follows; If the age is between 18 and 54, a premium seating costs $78 and a regular seating costs $40. If the age is between 54 and 80, the regular seating costs only $20 and the premium seating $35. Another other age just makes the program display the message 'You are too young or too old for this event' instead of displaying the price of the ticket. Tests Table (0.25 per test successfully passed as long as the logic of the code is general enough, 1 point for quality of implementation): Age: Type of Seating: What we expect your program to display: 18 'regular' Ticket price is $40 54 'regular' Ticket price is $40 18 'premium' Ticket price is $78 54 'premium' Ticket price is $78 55 'regular' Ticket price is $20 55 'premium' Ticket price is $35 80 'regular' Ticket price is $20 80 'premium' Ticket price is $35 81 'regular' You are too young or too old for this event 81 'premium' You are too young or too old for this event 17 'regular' You are too young or too old for this event 17 'premium' You are too young or too old for this event  

Miа hаs been аsked by the chairman оf the Department оf Orthоpedics to calculate the case mix index for all orthopedic patients from FY 20xx.  What one piece of data will Mia need to begin her work?

Q 7