Question: Practice Exercise 1 4 . 1 Create a program called PersonClass.py In this program, ceate a Person class with the following attributes: name: a string

Practice Exercise 14.1
Create a program called
PersonClass.py
In this program, ceate a Person class with the following attributes:
name: a string representing the person's name
age: an integer representing the person's age
The Person class should also have the following methods:
say hello(): prints out a message that includes the person's name
calculate birth year(): returns the year in which the person was born (assuming the current year 2023)
Next create another program called Ex1_BuffID.py and create an object for the Person with your own information.
Upload both the
PersonClass.py and Ex1_BuffID.py to WTClass.
Practice Exercise 1 4 . 1 Create a program called

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!