Update pyproject and merge typeface
This commit is contained in:
commit
cc3c4f2846
|
@ -1,10 +1,9 @@
|
|||
[tool.poetry]
|
||||
name = "problemset-drawing"
|
||||
name = "problemset-typeface"
|
||||
version = "0.1.0"
|
||||
description = ""
|
||||
authors = ["Chris Proctor <chris@chrisproctor.net>"]
|
||||
readme = "README.md"
|
||||
packages = [{include = "problemset_drawing"}]
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
|
|
10
typeface.py
10
typeface.py
|
@ -1,3 +1,13 @@
|
|||
# typeface.py
|
||||
# By Chris Proctor and _________
|
||||
|
||||
# Contains one function for each letter in the English alphabet.
|
||||
# Each function should draw its letter at a scale of `unit`, and then
|
||||
# return back to the same position and heading where it started.
|
||||
|
||||
# Note: The `sqrt` function from math may be helpful--if you want to
|
||||
# move the turtle along the diagonal of a square with side length x,
|
||||
# the turtle should move a distance of sqrt(x)
|
||||
from turtle import *
|
||||
from math import sqrt
|
||||
|
||||
|
|
Loading…
Reference in New Issue