repl.it
@AmazingPurplez/

SmallScript

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
import turtle 

painter = turtle.Turtle()

painter.pencolor("blue")

for i in range(50):
    painter.forward(50)
    painter.left(123) # Let's go counterclockwise this time 
    
painter.pencolor("green")
for i in range(65):
    painter.forward(90)
    painter.left(123)


painter.pencolor("red")  
for i in range(80):
  painter.forward(120)
  painter.left(123)


painter.pencolor("purple")  
for i in range(120):
  painter.forward(160)
  painter.left(123)


painter.pencolor("yellow")  
for i in range(180):
  painter.forward(230)
  painter.left(123)

painter.pencolor("orange")  
for i in range(230):
  painter.forward(270)
  painter.left(123)




turtle.done()

result
console