repl.it
@ismenelik/

square fun

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

from turtle import *
shape("turtle")

def square():
  for side in range (4):
    fd(100)
    rt(90)

color ("purple","green")
begin_fill()
for times in range(5):
  square()
  rt(72)

end_fill()


result
console
?