repl.it
@ReshiramWolfu/

first proj-1

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
import turtle
t=turtle.Turtle()
t.speed(20)
t.color("red")
t.begin_fill()
for i in range(4):
    t.fd(100)
    t.left(90)
    t.circle(50)
t.end_fill()
t.begin_fill()
for count in range(3):
    t.fd(100)
    t.right(120)
t.left(90)
for i in range(3):
    t.fd(100)
    t.left(120)
t.fd(100)
t.right(90)
for i in range(3):
    t.fd(100)
    t.left(120)
t.fd(100)
t.right(90)
for i in range(3):
    t.fd(100)
    t.left(120)
t.end_fill()
result
console
?