generated from mwc/lab_turtle
Initial commit
This commit is contained in:
11
.commit_template
Normal file
11
.commit_template
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
|
||||||
|
|
||||||
|
# -----------------------------------------------------------------
|
||||||
|
# Write your commit message above this line.
|
||||||
|
#
|
||||||
|
# The first line should be a quick description of what you changed.
|
||||||
|
# Then leave a blank line.
|
||||||
|
# Then write a few sentences describing one emotion you had
|
||||||
|
# while doing this programming. Describe the situation that led
|
||||||
|
# to this emotion.
|
||||||
|
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
**/__pycache__/
|
||||||
22
drawing.py
Normal file
22
drawing.py
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
from turtle import (
|
||||||
|
forward,
|
||||||
|
back,
|
||||||
|
left,
|
||||||
|
right,
|
||||||
|
penup,
|
||||||
|
pendown,
|
||||||
|
color,
|
||||||
|
)
|
||||||
|
|
||||||
|
forward(100)
|
||||||
|
right(360 * 2 / 5)
|
||||||
|
forward(100)
|
||||||
|
right(360 * 2 / 5)
|
||||||
|
forward(100)
|
||||||
|
right(360 * 2 / 5)
|
||||||
|
forward(100)
|
||||||
|
right(360 * 2 / 5)
|
||||||
|
forward(100)
|
||||||
|
right(360 * 2 / 5)
|
||||||
|
|
||||||
|
input()
|
||||||
17
pyproject.toml
Normal file
17
pyproject.toml
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
[project]
|
||||||
|
name = "lab-turtle"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = ""
|
||||||
|
authors = [{ name = "Chris Proctor", email = "chris@chrisproctor.net" }]
|
||||||
|
requires-python = ">=3.10,<4.0"
|
||||||
|
readme = "README.md"
|
||||||
|
license = { text = "MIT" }
|
||||||
|
dependencies = []
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["hatchling"]
|
||||||
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
|
[tool.uv]
|
||||||
|
package = false
|
||||||
|
|
||||||
Reference in New Issue
Block a user