Question: write this code in phyton and add comments it must be please Create an Ticket class in Python. The design of the class is totally
Create an Ticket class in Python. The design of the class is totally up to you. Write the necessary functions for the class. Part II Write a function that checks whether the ticket is expired or not considering the given date: Part III Write a function that calculates the total cost of the expired tickets in the given list. Part IV Write a function that finds the expired tickets among the given tickets. Note: Do not compress your files, submit only cpp files. Partial grades will not be given for each part. Do not forget to justify your answers with comments. The codes without comments will not be evaluated
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
