Question: For the Employee Class Program in the Unit 3 Finishing the Employee Class Program tutorial, what if we need to update the display menu and

For the Employee Class Program in the Unit 3 Finishing the Employee Class Program tutorial, what if we need to update the display menu and selections to add in a way to change the id of an employee? What code segments would need to be added to the display_menu() method and the command while loop respectively to implement this?
a)
print("updid - Update id")
and
elif command.lower()== "updid":
upd_id(employees)
b)
print("updid - Update id")
and
elif command.lower()== "updid":
upd_id()
c)
print("updid - Update id")
and
elif command.lower()== updid:
upd_id(employees)
d)
print("updid - Update id")
and
elif command = "updid":
upd_id(employees)

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!