class Personel: def __init__(self, ad, soyad, maas): self.ad = ad self.soyad = soyad self.email = f'{self.ad.lower()}.{self.soyad.lower()}@halkbank.com.tr' self.maas = int(maas) def isim(self): return f'{self.ad} {self.soyad}' def __repr__(self): return 'Personel(ad, soyad, maas)' def __str__(self): return self.isim() def __len__(self): return 5 def __add__(self, per): return self.maas + per.maas per_1 = Personel('Emre', 'Çevik', 10000) per_2 = Personel('Ahmet', 'Şen', 20000) print(per_1 + per_2)