-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathact-02-0-logo.py
121 lines (94 loc) · 1.01 KB
/
act-02-0-logo.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
from turtle import *
mode('logo')
speed(0)
# pensize(1)
penup()
goto(80, 68)
right(180)
pendown()
forward(64)
circle(16,90)
left(180)
circle(16,90)
forward(16)
circle(-16,90)
penup()
forward(32)
forward(48)
forward(16)
forward(32)
pendown()
# p
circle(-16,90)
forward(16)
circle(16,90)
left(180)
circle(16,90)
forward(40)
circle(-24,180)
# r
forward(24)
penup()
right(180)
forward(24)
pendown()
circle(-24,90)
penup()
forward(16)
pendown()
# o
circle(-24,90)
# p
circle(24)
# o
circle(-24,270)
penup()
right(180)
forward(16)
# r
circle(24,90)
forward(24)
left(180)
forward(24)
pendown()
forward(24)
penup()
right(180)
forward(24)
pendown()
# p
circle(-24,180)
forward(24)
penup()
# s
goto(-42,-10)
pendown()
circle(10,30)
circle(10,240)
circle(-10,270)
# o
penup()
goto(-12,0)
right(90)
pendown()
circle(-20,360)
# c
penup()
goto(42,-12)
seth(0)
pendown()
circle(12,180)
forward(16)
circle(12,180)
# ;
penup()
goto(60,-12)
dot()
goto(60,-32)
dot()
seth(0)
left(135)
pendown()
forward(16)
hideturtle()
mainloop()