def get_job(self):
    prob = (0.9 if self.is_male else 0.8)
    if (random.random() < prob):
        self.company = Registrar_of_companies.find_work(self)
def get_job(self):
    prob = (0.9 if self.is_male else 0.8)
    if (random.random() < prob):
        self.company = Registrar_of_companies.find_work(self)