mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 09:20:10 +01:00
Move into monaco-editor directory
This commit is contained in:
parent
eb6034e8a5
commit
497507ffee
426 changed files with 0 additions and 0 deletions
|
|
@ -1,13 +0,0 @@
|
|||
import banana
|
||||
|
||||
|
||||
class Monkey:
|
||||
# Bananas the monkey can eat.
|
||||
capacity = 10
|
||||
def eat(self, n):
|
||||
"""Make the monkey eat n bananas!"""
|
||||
self.capacity -= n * banana.size
|
||||
|
||||
def feeding_frenzy(self):
|
||||
self.eat(9.25)
|
||||
return "Yum yum"
|
||||
Loading…
Add table
Add a link
Reference in a new issue