Odpowiedź:
import turtle
side = int(input("Podaj dlugosc boku:"))
print("Obwod wynosi: {}".format(side*4))
print("Pole wynosi: {}".format(side*side))
turtle.goto(0,0)
turtle.pd()
turtle.goto(side,0)
turtle.goto(side,side)
turtle.goto(0, side)
turtle.goto(0,0)
turtle.pu()
turtle.Screen().exitonclick()