Question: #Create a class called TheaterTicket. TheaterTicket #should have two attributes ( instance variables ) : section #and matinee. Make sure the variable names match those
#Create a class called TheaterTicket. TheaterTicket
#should have two attributes instance variables: section
#and matinee. Make sure the variable names match those
#words. section will be a string; matinee will be a boolean.
#
#TheaterTicket should have a constructor with two required
#parameters, one for each of those attributes section and
#matinee in that order
#
#TheaterTicket should also have a method called
#getticketprice. getticketprice should have one
#additional parameter other than self: quantity, an
#integer representing the number of tickets between and
#
#
#getticketprice should return the price of the tickets
#represented by the instance. The price is determined first
#by section:
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
