Question: his lab is based on the PA 3 . 6 . 1 . Your goal is to write a function get _ ticket _ price
his lab is based on the PA
Your goal is to write a function getticketprice that takes the following parameters:
a price float
an age integer
a student status Boolean
The function returns the computed movie ticket price.
Instructions to write the function
The function first checks the price:
If the base price is less than the function returns as an integer.
Otherwise, the function sets the ticket base price to be the provided base price parameter.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
