I must write a class Person with 3 attributes (Name,Surname,Age) in all his instances. How can i set it that it cant be possible to add more attributes?
class Person:
def __init__(self,name,surname,age):
self.name=name
self.surname=surname
self.age=age