- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgitlogo.py
More file actions
Latest commit
39 lines (36 loc) · 571 Bytes
/
Copy pathgitlogo.py
File metadata and controls
39 lines (36 loc) · 571 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
importturtleast
t.penup()
t.goto(-20,230)
t.pendown()
t.left(45)
t.begin_fill()
t.fillcolor("#F1502F")
forjinrange(4):
foriinrange(45):
t.right(2)
t.forward(1)
t.forward(300)
t.end_fill()
t.penup()
t.goto(-70,180)
t.pendown()
t.pensize(20)
t.pencolor("white")
t.right(90)
t.forward(100)
t.pensize(50)
t.forward(1)
t.pensize(20)
t.forward(130)
t.pensize(50)
t.forward(1)
t.penup()
t.goto(0,100)
t.pendown()
t.right(45)
t.pensize(20)
t.forward(200)
t.pensize(50)
t.forward(1)
t.hideturtle()
t.done()