Write Python code to implement the City Council management system. The program should do the following: Deliverables
Question:
Write Python code to implement the City Council management system. The program should do the following: Deliverables for this assignment are:
1. For the management system allocated to you, develop appropriate class inheritance. You need to have at least FIVE classes; two of them as children’s classes.
2. Each class must have at least THREE private variables.
3. Each class must have at least TWO user-defined functions to add extra functionality to each class. Additionally, each class must have a constructor (__init__) and __str__ functions.
4. In your design you must incorporate overloading and overriding of methods as appropriate.
5. You must consider implementing “getters” and “setters” for instance variables and don’t provide direct access to instance variables (as they are private).
6. Each setter function must implement at least one filter to user-entered data (of your choice). For example, setter function to a name must not have numbers as inputs. Another example, the setter function to age must not have negative values or values more than 120.
7. You may have additional methods if required based on your analysis and design of the management system allocated.
8. Your management system should have a text-based menu to prompt the user to enter related data (such as name, age...). The entered date should be added to the objects of classes.
9. Outside the classes, create one list for each class, and whenever an object is created, this object is added to its appropriate list.
10. In the text-based menu, there should be options to insert, search, display and delete an object from the appropriate list.
11. You must also consider exceptional handling. Submission instruction
a) A fully working Python application. A Python source file that runs without any error and is fully tested.
b) A good structure Python source file with commented file header describing the author’s name, student ID, a brief description of the code, and any open-source copyright acknowledgment if needed.
c) Your code must be appropriately commented in every section necessary. Should be in the City council Management System.