mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 13:55:41 +01:00
Move website files to /website/
This commit is contained in:
parent
430d8e6e17
commit
d9013a86c4
191 changed files with 9 additions and 9 deletions
13
website/index/samples/sample.python.txt
Normal file
13
website/index/samples/sample.python.txt
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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