Question: please use python answering the question thanks Person Implement the Person class. Each person P has attributes name, age and job. The constructor accepts arguments

please use python answering the question thanks

Person

Implement the Person class.

Each person P has attributes name, age and job.

The constructor accepts arguments for the attributes above, in the order above.

Each person P has a celebrate_birthday() method, which:

increments P's age;

sets P's job to "Retired" if their age is now 65 or greater;

returns "Happy birthday !", where is P's name.

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 Databases Questions!