Botonga classe ya python pona pomme.
 Tala ndakisa ya kelasi ya Python mpo na pome: ```kelasi ya python Apple: def __init__(moto, langi, kilo, ndenge na ndenge): self.color = langi self.weight = kilo self.variety = ndenge na ndenge def get_color(self) : zongisa self.color def get_weight(self): zongisa self.weight def get_variety(self): zongisa self.variété def set_color(moi, couleur): self.color = couleur def set_weight(moi, kilo): self.weight = weight def set_variety(self, variety): self.variety = variety ``` Kelasi oyo ya Apple ezali na ba variables misato ya instance: langi, kilo, mpe ndenge na ndenge. Ezali mpe na mayele motoba: `kozwa_langi ()`, `zwa_kilo ()`, `kozwa_lolenge ()`, `kotia_langi ()`, `kotia_kilo ()`, mpe `kotia_variety()`. Ba méthodes oyo e permettre yo o accéder pe o modifier ba valeurs ya ba variables ya instance.