How self works in class? class Cachorro: def comer(self): print('Cachorro está comendo.') dog = Cachorro() dog.comer()