hexagonturtle.py

Created by ews31415

Created on December 14, 2021

196 Bytes

Draw a hexagon using Turtle.


# 2021-12-12 ews
from math import *
from turtle import *

forward(50)
left(45)
forward(50)
left(90)
forward(50)
left(45)

forward(50)
left(45)
forward(50)
left(90)
forward(50)