-
Notifications
You must be signed in to change notification settings - Fork 0
/
spiderman-logo.py
95 lines (95 loc) · 1.04 KB
/
spiderman-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
import time
from time import sleep
from turtle import *
bgcolor('red')
pensize(10)
fillcolor('black')
begin_fill()
circle(20)
end_fill()
penup()
right(90)
forward(5)
pendown()
fillcolor('black')
begin_fill()
right(60)
for i in range(6):
forward(50)
left(60)
end_fill()
penup()
left(150)
forward(39)
left(90)
forward(9)
pendown()
forward(25)
right(60)
forward(15)
left(60)
forward(25)
penup()
backward(25)
right(60)
back(15)
left(60)
backward(25)
left(60)
pendown()
backward(35)
left(120)
forward(80)
penup()
left(40)
forward(30)
left(140)
pendown()
forward(110)
left(60)
forward(40)
right(60)
forward(7)
right(60)
forward(20)
left(60)
forward(40)
penup()
goto(0,0)
left(90)
forward(39)
right(90)
forward(9)
pendown()
forward(25)
left(60)
forward(15)
right(60)
forward(25)
penup()
backward(25)
left(60)
back(15)
right(60)
backward(25)
right(60)
pendown()
backward(35)
right(120)
forward(80)
penup()
right(40)
forward(30)
right(140)
pendown()
forward(110)
right(60)
forward(40)
left(60)
forward(7)
left(60)
forward(20)
right(60)
forward(40)
done()
sleep(30)