Implementimi i një klase në Python
class Animal: def __init__(self, name, age, species): self.name = name self.age = age self.species = species def get_name(self): return self.name def get_age(self): return self.age def get_species(self): return self.species