diff --git a/drawing.py b/drawing.py index 29fc89e..7d12010 100644 --- a/drawing.py +++ b/drawing.py @@ -5,3 +5,47 @@ # (Briefly describe what this program does.) from turtle import * +from math import sqrt + + + + +def fly (distance): + penup() + forward(distance) + pendown() + +def quarter_arc_right(radius): + "Draws a quarter of an arc, turning to the right." + circle(-radius, 90) + +def quarter_arc_left(radius): + "Draws a quarter of an arc, turning to the left." + circle(radius, 90) + + +left(90) +fly(150) +right(90) +left(90) +quarter_arc_left(100) +quarter_arc_left(100) +left(90.) +fly(200) +left(90) +quarter_arc_right(100) +quarter_arc_right(100) +right(24.6) +forward(480) +right(90+40.7) +forward(480) +fly(100) + + + + + + + + +input() \ No newline at end of file