write a code with class in python
i have some problems with writing following program by python: Write a program to design a class that has the following information 1.Master's number 2.Teacher's name and surname 3.teaching The amount paid per hour Then, using this, write a program to provide the list of teacher with their salaries. Then teachers should be presented who have the same salary, and if their salaries are not the same, they should be leveled or grouped here is my code: class user: a=[] b=[] def __init__(self,teachername="undefiend",teacherfamily="undefiend",teachersalary=0): self.un1=teachername self.uf1=teacherfamily self.ua1=teachersalary def showinfo(self) : return f" {self.un1}{self.uf1}{self.ua1 }" #============================================================================== def salarycomp2(self,teachername): if self.ua1<15000: user.a.append(teachername) else : user.b.append(teachername) #================================================================================ def salarycomp(self,other) : if self.ua1==other.ua1: print("yes") else: user.salarycomp2() tt=user("sara","alae",30000) hhh=user("jack","parkor",300000) gg=user("mikel","ebel",20000) ff=user("daya","eskafi",10000) print(tt.showinfo()) print(hhh.showinfo()) print(gg.showinfo()) print(ff.showinfo()) user.salarycomp() errors: Traceback (most recent call last): File "c:\Users\SONY\Desktop\New folder\first.py", line 36, in <module> user.salarycomp() TypeError: salarycomp() missing 2 required positional arguments: 'self' and 'other'