class Employee: def __init__(self,name,salary): self.__name = name self.__salary = salary def printclass(self): print(f"{self.__name}'salary is {self.__salary}, and his age is {self.age}") name = input() salary = int(input()) age = int(input()) e = Employee(name, salary) print(hasattr(e, 'age')) setattr(e,'age',age) e.printclass()