side=int(input("enter the side length\n"))
def square_perimeter():
   return 4*side
def square_area():
   return side**2
print("The perimeter of Square is:",square_perimeter())
print("The Area of Square is:",square_area())

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: