generated from mwc/problemset_typeface
I was struggled with the error of test.py for a while, then I copied code to ChatGPT and asked it, I tried pip install superturtle to solve the problem under AI's help, which makes me relieved. Letter I: the easiest one Letter A: I started by using angle 80, then I figired that it's hard to do the math, so I changed it to 60 for easier caculation Letter B: I spent some time exploring how circle works and how initial direction might influence the circle draw, i also use speed() to fasten the process Letter C: two quater circle combined To make the pen get the initial position, I tried position() and home(), but they didn't work very well. Then I asked ChatGPT how to make it home to make proof.py work it gives me specific steps using penup and pendown etc to make it back, which is complicated. So I asked if there is a easier way to achieve this. Then it provides me with initial_position code, which concise the process. |
||
---|---|---|
.commit_template | ||
.gitignore | ||
grid.py | ||
poetry.lock | ||
proof.py | ||
pyproject.toml | ||
test.py | ||
typeface.py |