Design a dental appointment system using Python, with thefollowing requirements. Appointment as a super class, whichcontains four
Question:
Design a dental appointment system using Python, with thefollowing requirements. Appointment as a super class, whichcontains four variables (M,D,Y,Desc) Three sub classes (Month, Day,Date). There should be appointments already created in a list andyou are simply asking the users for a date to check against them.This mean that you need to create them ahead of time. There areseveral ways that you can approach this question. The example belowis just one way of solving this problem. Write a method calledOccursOn inside each of the sub classes that checks whether theappointment occurs on that date (Date), day (Day) or month (Month).Ask the user to enter a date to check (for example, 2006 10 5), andask to user if they want to check against Date, Day or Monthappointment. Based on what the user selected, OccursOn inside eachof the sub class should run and display any matching appointmentand associated descriptions.
Systems Analysis and Design in a Changing World
ISBN: 978-1305117204
7th edition
Authors: John W. Satzinger, Robert B. Jackson, Stephen D. Burd