repl.it
@AHulot/

Drawing_3_Repl

Python (with Turtle)

No description

fork
loading
main.py
1
2
3
4
5
6
7
8
9
10
import turtle

turtle.right(60)
turtle.forward(100)
sides = 0
while sides < 2:
  turtle.right(120)
  turtle.forward(100)
  sides = sides + 1
result
console