import turtle

sides = int(input("Enter the number of sides for your shape: "))
angle = 360.0 / sides
length = 400.0 / sides

for side in range(sides):
    turtle.forward(length)
    turtle.right(angle)
turtle.done()