forked from microsoft/pxt
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython.json
More file actions
23 lines (23 loc) · 1.24 KB
/
python.json
File metadata and controls
23 lines (23 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"editor": "pyprj",
"title": "Native python",
"steps": [
{
"contentMd": "Tutorials can be written with code in Python.\n```python\nbasic.show_string(\"Hello\")\n```",
"headerContentMd": "Tutorials can be written with code in Python.",
"fullscreen": true,
"hintContentMd": "```python\nbasic.show_string(\"Hello\")\n```"
},
{
"contentMd": "Show some LEDs\n\n```python\nbasic.forever(function() {\n basic.show_leds(`\n . # . # .\n # # # # #\n # # # # #\n . # # # .\n . . # . .`);\n})\n\n```",
"headerContentMd": "Show some LEDs",
"hintContentMd": "```python\nbasic.forever(function() {\n basic.show_leds(`\n . # . # .\n # # # # #\n # # # # #\n . # # # .\n . . # . .`);\n})\n\n```"
}
],
"activities": null,
"code": "\ndef __wrapper_0():\n basic.show_string(\"Hello\")\n\ndef __wrapper_1():\n basic.forever(function() {\n basic.show_leds(`\n . # . # .\n # # # # #\n # # # # #\n . # # # .\n . . # . .`);\n })\n",
"metadata": {
"diffs": false
},
"language": "python"
}