Program to find the area and perimeter of square.

Code:

sd = float(input("Please enter side of the sqaure: "))

print("Area of square: ", sd**2)

print("Perimeter of square: ", 4*sd)

Output:       

Comments

Popular posts from this blog

State use of pep and pip