-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathFlag Of Azerbaijan.py
80 lines (71 loc) · 934 Bytes
/
Flag Of Azerbaijan.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
#flag of Azerbaijan
from turtle import *
setup(720,1080)
speed(10)
title("Flag of Azerbaijan by Pooja Patel")
pu()
goto(-400,300)
def Rectangle():
pd()
for i in range(2):
fd(800)
rt(90)
fd(200)
rt(90)
color("blue")
begin_fill()
Rectangle()
end_fill()
color("red")
pu()
goto(-400,100)
begin_fill()
Rectangle()
end_fill()
color("green")
pu()
goto(-400,-100)
begin_fill()
Rectangle()
end_fill()
color("black")
pu()
goto(-400,300)
pd()
width(2)
for i in range(2):
fd(800)
rt(90)
fd(600)
rt(90)
color("white")
pu()
goto(0,-90)
pd()
begin_fill()
circle(90)
end_fill()
color("red")
pu()
goto(30,-70)
pd()
begin_fill()
circle(70)
end_fill()
color("white")
pu()
goto(50,20)
pd()
begin_fill()
for i in range(9):
fd(100)
rt(135)
end_fill()
color("black")
pu()
goto(-100,320)
pd()
write("Flag of Azerbaijan",font=("Arial",20,"normal"))
pu()
goto(0,100)
done()