Question: Python 3 (15 points) Create the Python class Person that has the following attributes: . name e age gender Create a constructor. In your constructor
(15 points) Create the Python class Person that has the following attributes: . name e age gender Create a constructor. In your constructor initialize your parameters with the following default values . name "Unknown'" age 0 gender "u create the getter and setter methods for all the 3 attributes Create the str_method so that it returns a String of the all attributes from the class. Create the getter and setter methods for all the 3 attributes
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
