Computer Science, asked by pritam28891, 7 days ago

write a python program using function to calculated area of square

Answers

Answered by iindhumugi
1

Answer:

Let's see python program to find area and perimeter of a square. Firstly, we will take input from the user for the side value of the square using the input() method. Now, calculate the area of the square by using the formula Area = s*s. At last, print the area and perimeter of the square to get the output.

Answered by kookiesandmilk
1

Answer:

s=float(input("Enter side"))

area=s*s

print("area of square is",area)

Output

Enter side 4

area of square is 16

Similar questions