Make a drawing

basically what the title says. I made this one with my tutor ben. Also this is in beta so it isn't perfect. thank you for understanding

Codemonkey51 (756)

AWESOME!!

SilentShadowBla (538)

noice project!

adityaru (147)

Nice program but I broke it just by typing in `inf`

in how many sides I wanted :/ Again, other than that, good job :)

WinstonWong (20)

thx for the info @adityaru

kingscomix (2)

another way, without color:

import turtle

sides = int(input("how many sides?\n>>>"))

length = int(input("how long will each side be?\n"))

t = turtle.Turtle()

t.begin_fill()

for n in range(sides):

angle = 360/sides

t.right(angle)

t.forward(length)

t.end_fill()

WinstonWong (20)

Thx for the info @kingscomix

[deleted]

Cool!!

Nice!!!!