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()
|
21
pyproject.toml
Normal file
21
pyproject.toml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
[project]
|
||||||
|
name = "lab-turtle"
|
||||||
|
version = "0.1.0"
|
||||||
|
description = ""
|
||||||
|
authors = [
|
||||||
|
{name = "Chris Proctor",email = "chris@chrisproctor.net"}
|
||||||
|
]
|
||||||
|
license = {text = "MIT"}
|
||||||
|
readme = "README.md"
|
||||||
|
requires-python = ">=3.10,<4.0"
|
||||||
|
dependencies = [
|
||||||
|
]
|
||||||
|
|
||||||
|
|
||||||
|
[build-system]
|
||||||
|
requires = ["poetry-core>=2.0.0,<3.0.0"]
|
||||||
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
|
[tool.poetry]
|
||||||
|
package-mode = false
|
||||||
|
|
Reference in New Issue
Block a user