diff --git a/pyproject.toml b/pyproject.toml index f89db5e..604df71 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ readme = "README.md" packages = [{include = "lab_iteration"}] [tool.poetry.dependencies] -python = "^3.11" +python = "^3.10" [build-system] diff --git a/square.py b/square.py new file mode 100644 index 0000000..7f522e9 --- /dev/null +++ b/square.py @@ -0,0 +1,9 @@ +from turtle import * + +def square(side_length): + for _ in range (4): + forward(side_length) + right(90) + +square(40) +done() \ No newline at end of file