anyone know whats wrong with my code the site is not accepting it
def draw_equilateral_triangle(side_length):
perimeter = 3 * side_length
turtle.title("Equilateral Triangle Drawer")
turtle.speed()
turtle.bgcolor("white")
turtle.color("black")
turtle.penup()
turtle.goto(-side_length / 2, -side_length / (2 * 3 ** 0.5))
turtle.pendown()
turtle.setheading(-60)
for _ in range(3):
turtle.forward(side_length)
turtle.left(120)
return perimeter
side_length = int(input("side: "))
perimeter = draw_equilateral_triangle(side_length)
print("perimeter:", perimeter)```
the request : ***Write a program that takes the side length of an equilateral triangle, draws it, and prints the perimeter of the triangle.
Pay attention that the starting point of drawing the triangle is the center of the page and the direction of the triangle is downwards.
Entrance
The input contains an integer.
output
The output contains a triangle and an integer which is the perimeter of the triangle.***