For each person, their name and surname, identity card, if applicable, are known. engineer, architect or worker; and the number of hours he was working on site, in that month. Rates vary per hour based on hourly rates Hourly rates Engineer $25 Architect $10 Worker $5
class Person: def __init__(self, name, surname, identity_card, job, hours): self.name = name self.surname = surname self.identity_card = identity_card self.job = job self.hours = hours class Employee(Person): def __init__(self, name, surname, identity_card, job, hours, salary