repl.it
@janimanthan80/

country flag

Python (with Turtle)

No description

fork
loading
main.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
import turtle

t = turtle.Turtle()
t.speed(10)
t.fillcolor("Green")
t.begin_fill()
t.forward(350)
t.left(90)
t.forward(75)
t.left(90)
t.forward(350)
t.left(90)
t.forward(75)
t.end_fill()
t.left(180)
t.forward(150)
t.right(90)
t.forward(350)
t.right(90)
t.forward(75)
t.left(180)

t.forward(75)

t.begin_fill()
t.fillcolor("orange")
t.forward(75)
t.left(90)
t.forward(350)
t.left(90)
t.forward(75)
t.end_fill()
t.begin_fill()
t.fillcolor("light black")
t.forward(450)
t.right(90)
t.forward(35)
t.right(90)
t.forward(570)
t.right(90)
t.forward(35)
t.right(90)
t.forward(195)
t.end_fill()
t.left(90)
t.forward(175)
t.pencolor("dark blue")
t.begin_fill()
t.circle(37)
t.left(90)
t.forward(75)
t.left(90)
t.circle(37,45)
t.left(90)
t.forward(75)
t.left(90)
t.circle(37,45)
t.left(90)
t.forward(75)
t.left(90)
t.circle(37,45)
t.left(90)
t.forward(75)
t.left(90)
t.circle(37,67.5)
t.left(90)
t.forward(75)
t.left(90)
t.circle(37,45)
t.left(90)
t.forward(75)
t.left(90)
t.circle(37,45)
t.left(90)
t.forward(75)
t.left(90)
t.circle(37,45)
t.left(90)
t.forward(75)
t.left(90)
t.circle(37,382.5)
t.left(90)
t.forward(43)
result
console