Question: using python: Studen init sur ed 3. (30 points) Consider the following partial dass definition for an Employee object. class Employee ** Employee Class -

using python:
using python: Studen init sur ed 3. (30 points) Consider the following

Studen init sur ed 3. (30 points) Consider the following partial dass definition for an Employee object. class Employee ** Employee Class - creates Employee objects current Year=2019 Wholds current year. T int def_init__(sell e num name title="Analyst', year = 0 salary = 40000) selfe_num= stre_num) self names str(name) self.title = strtitle) self start Year year year the employee started with the company self salary salary 13 Add a method called status that takes no parameters and returns the seniority level for the employee object based on the number of years with the company (computed as current year minus the year started). Use these thresholds to return the corresponding string less than 2 years. Trainee 2 to 4 years "Junior Analyst 5 to 10 years: Analyst 11 to 20 years, "Senior Analyst None of the above: unknown 31 124 points) Write the status method here

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!