-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBatman art.py
62 lines (55 loc) · 1003 Bytes
/
Batman art.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
#Batman Art Logo
from turtle import *
def run():
forward(10)
your_left(90)
forward(30)
your_right(150)
forward(35)
your_left(40)
for i in range(70):
your_left(1)
forward(3)
your_right(70)
forward(100)
your_right(140)
forward(100)
your_left(40)
forward(30)
your_right(55)
forward(130)
your_left(40)
forward(103)
def your_right(num):
if(mirror):
right(num)
else:
left(num)
def your_left(num):
if(mirror):
left(num)
else:
right(num)
bgcolor(0.99,0.035,0.04)
mirror=True
pencolor('#000')
pensize(3)
fillcolor('#000')
begin_fill()
up()
goto(0,100)
down()
run()
up()
goto(0,100)
down()
mirror=False
right(45)
run()
goto(0,-20)
end_fill()
up()
goto(-200,-150)
write("''When that light hits the sky,\nit's not just a call it's a warning.''\n\t\tThe BatMan(2022)",font=('Arial',18,'bold'))
goto(-500,-500)
done()