| theme | dracula | |
|---|---|---|
| background | https://source.unsplash.com/collection/94734566/1920x1080 | |
| class | text-center | |
| highlighter | shiki | |
| lineNumbers | false | |
| drawings |
|
|
| wakeLock | build | |
| aspectRatio | 16/9 | |
| css | unocss |
Author
::left::
- Name: Mona Lisa
- Occupation: Developer
- Email: mona@lisa.io
::right::
layout: wtp-2-cols code: | from turtle import *
- Basic instructions
layout: wtp-2-cols code: | from microbit import *
- Compact educational microcontroller
- Python programmable
- Built-in sensors
- Accelerometer
- Temperature
- Compass
layout: wtp-2-cols code: | import sqlite3
- Embedded relational database
- No separate server process
- Lightweight and portable
- Built into Python standard library
layout: wtp-2-cols code: | rows = 10 print("Pyramid Pattern:") for i in range(rows): print(" " * (rows - i - 1) + "*" * (2 * i + 1)) print() wtpLayout: '["Editor", "Console"]'
- Layout can also be specified
- Components
- Editor
- Canvas
- Console
- Only 1 Canvas
- Specified in nested list
- e.g. '["Editor", "Console"]'
Feel free to let me know if you need any further adjustments!
