Skip to content

Instantly share code, notes, and snippets.

@trochepablo
Created August 18, 2018 23:40
Show Gist options
  • Save trochepablo/9b94036c58b3a823528816b670bd9aae to your computer and use it in GitHub Desktop.
Save trochepablo/9b94036c58b3a823528816b670bd9aae to your computer and use it in GitHub Desktop.
GoodForsakenRouter created by trochepablo - https://repl.it/@trochepablo/GoodForsakenRouter
class alimentos:
def alpiste(self):
return 4
import pepita
import alimentos
alimentos = alimentos.alimentos()
class pepita:
energia = 0
def comer(self):
self.energia = self.energia + alimentos.alpiste()
# your code goes here
# test code
pepita = pepita()
pepita.comer()
print(pepita.energia)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment