Question: USE PYTHON 3 ONLY! Create a class named Person. Name the file you create 321.py Create a Person class with the following attributes. First name
USE PYTHON 3 ONLY! Create a class named Person. Name the file you create 321.py Create a Person class with the following attributes. First name Last name And the following methods __init__(self, name) o Creates the attributes with values A get and set method for the persons name. __str__(self) o Converts the Student into a string including all of their attributes. You should also create a main method and an if statement to run main() if you execute this file. if __name__ == '__main__': main() Make sure to turn in your resulting file.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
