mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 17:25:39 +01:00
Initial release
This commit is contained in:
parent
90042b4f97
commit
896c60a8b9
60 changed files with 36730 additions and 2 deletions
12
test/samples/sample.python.txt
Normal file
12
test/samples/sample.python.txt
Normal 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"
|
||||
Loading…
Add table
Add a link
Reference in a new issue