Question: The following class is to be coded in python with all its attributes and methods: Server: Attributes: Name: str representing the name of the server
The following class is to be coded in python with all its attributes and methods:

Server: Attributes: Name: str representing the name of the server customer_list: a list of Customer objects representing the specific customers a server is serving . total_tips: an integer representing how the total amount of tips the server has earned . restaurant: str representing the name of the restaurant that a server works at Methods: init0 Initializes the following attributes: o name: str o customer list: list o total_tips: int; should be initialized to zero o restaurant: str
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
