Turtles in the Jupyter Notebook
Project description
“Nevertheless… the turtle moves!” - Small Gods, by Terry Pratchett
This is a Turtle module for the Jupyter Notebook. It’s based on code by aspidites, one of two groups at Macewan University that built Turtle as a class assignment (the other was PACattack; I could have based this on either, but I had to pick one).
Using it looks like this:
from mobilechelonian import Turtle
t = Turtle()
t.speed(5)
colours=["red","blue","yellow","brown","black","purple","green"]
t.penup(); t.left(90); t.forward(200);t.right(90);t.pendown()
for i in range (0,18):
t.pencolor(colours[i%7])
t.right(20)
t.forward(50)
t.right(180)
t.home()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mobilechelonian-0.5.tar.gz.
File metadata
- Download URL: mobilechelonian-0.5.tar.gz
- Upload date:
- Size: 91.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17b43cec6063d09846dacf59faa087a6f9b219c40051c909af4b134e74f552d8
|
|
| MD5 |
3bcfe2e0b24996e9453e8cd8b0a56a48
|
|
| BLAKE2b-256 |
208dbae86712dd1c8f38411e00bb88513417881cb8c78beaffc4537a61314bbe
|
File details
Details for the file mobilechelonian-0.5-py2.py3-none-any.whl.
File metadata
- Download URL: mobilechelonian-0.5-py2.py3-none-any.whl
- Upload date:
- Size: 94.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c13885fc14773b1490a3ea41be1301485aed463d4a5f7d232ca5a48ae02f0f68
|
|
| MD5 |
ba99e75fcb29f576701667e1d368640d
|
|
| BLAKE2b-256 |
2c89d79cde973e8b0ab504bbea6d494b7fd7d6e2b4d6a8931b0b19a21368ab9b
|