You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
print(f'My name is {self.name} and my ID Number is : {self.idnumber}')
class TopGuys(workers):
def __init__(self, name, idnumber, salary, post, in_charge):
self.post = post
self.charge = in_charge
super().__init__(name, idnumber, salary)
def speakNow(self):
print(f"I am {self.name} and my ID Number doesn't matter but for the record, it is : {self.idnumber}. I am the {self.post} here and the area I handle is {self.charge}")