Add initial website pages

This commit is contained in:
Alex Dima 2016-06-16 12:34:36 +02:00
parent f2b9092438
commit 99bc54b159
55 changed files with 13029 additions and 1 deletions

View file

@ -0,0 +1,12 @@
from banana import *
class Monkey:
# Bananas the monkey can eat.
capacity = 10
def eat(self, N):
'''Make the monkey eat N bananas!'''
capacity = capacity - N*banana.size
def feeding_frenzy(self):
eat(9.25)
return "Yum yum"