Page 1 of 1

Inherit the Employee class from Classwork 10 and create a subclass Executive. The subclass will include the monthly sala

Posted: Wed Mar 30, 2022 9:26 am
by answerhappygod
Inherit The Employee Class From Classwork 10 And Create A Subclass Executive The Subclass Will Include The Monthly Sala 1
Inherit The Employee Class From Classwork 10 And Create A Subclass Executive The Subclass Will Include The Monthly Sala 1 (27.24 KiB) Viewed 30 times
Inherit the Employee class from Classwork 10 and create a subclass Executive. The subclass will include the monthly salaries and the term of employment (in months) and can calculate the present value of the wages. Assume a monthly discount rate of 0.0025 in calculating the present value and that monthly payment occurs at the end of each month. Use a list comprehension in calculating the present value. The function will be capable of the following. Upload the .py file and the output screenshot on Canvas. >>> executivel - Executive ("George", "Carlin", 20000, 48 ) >>> executivel.initial() "GC! >>> executivel.number_letter() 12 >>> executivel.salary 20000 >>> executivel.term 48 >>> executive1.pv_salary() 903573.89