-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathgooglelogo.py
More file actions
66 lines (63 loc) · 1004 Bytes
/
googlelogo.py
File metadata and controls
66 lines (63 loc) · 1004 Bytes
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
import turtle as t
t.color("#4285F4", "#4285F4")
t.pensize(5)
t.forward(120)
t.right(90)
t.circle(-150, 50)
t.color("#0F9D58")
t.circle(-150, 100)
t.color("#F4B400")
t.circle(-150, 60)
t.color("#DB4437", "#DB4437")
t.begin_fill()
t.circle(-150, 100)
t.right(90)
t.forward(50)
t.right(90)
t.circle(100, 100)
t.right(90)
t.forward(50)
t.end_fill()
t.begin_fill()
t.color("#F4B400", "#F4B400")
t.right(180)
t.forward(50)
t.right(90)
t.circle(100, 60)
t.right(90)
t.forward(50)
t.right(90)
t.circle(-150, 60)
t.end_fill()
t.right(90)
t.forward(50)
t.right(90)
t.circle(100, 60)
t.color("#0F9D58", "#0F9D58")
t.begin_fill()
t.circle(100, 100)
t.right(90)
t.forward(50)
t.right(90)
t.circle(-150, 100)
t.right(90)
t.forward(50)
t.end_fill()
t.right(90)
t.circle(100, 100)
t.color("#4285F4", "#4285F4")
t.begin_fill()
t.circle(100, 25)
t.left(115)
t.forward(65)
t.right(90)
t.forward(42)
t.right(90)
t.forward(124)
t.right(90)
t.circle(-150, 50)
t.right(90)
t.forward(50)
t.end_fill()
t.hideturtle()
t.done()