diff --git a/drawing.py b/drawing.py index f3ee2e9..eb2010f 100644 --- a/drawing.py +++ b/drawing.py @@ -8,15 +8,93 @@ from turtle import ( 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) +penup() +back(300) +pendown() +color("green") +#H +right(90) +forward(100) +penup() +back(50) +pendown() +left(90) +forward(50) +left(90) +forward(50) +back(100) + +#E +penup() +right(90) +forward(50) +left(90) +pendown() +color("red") +forward(100) +right(90) +forward(50) +back(50) +right(90) +forward(50) +left(90) +forward(50) +back(50) +right(90) +forward(50) +left(90) +forward(50) + +#L +penup() +forward(50) +left(90) +forward(100) +left(180) +pendown() +color("blue") +forward(100) +left(90) +forward(75) + +#L +penup() +forward(50) +left(90) +forward(100) +left(180) +pendown() +color("orange") +forward(100) +left(90) +forward(75) + +#O +penup() +forward(50) +pendown() +color("purple") +forward(50) +left(90) +forward(100) +left(90) +forward(50) +left(90) +forward(100) + + + + +"""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()