Write a program in Python that accepts side of a square by the user and prints the area of the square.
Share
Write a program in Python that accepts side of a square by the user and prints the area of the square.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Answer:
Python Program
s=13.
area_square=s*s.
print("Area of the square="+str(area_square))
s = float(input("Enter the side of the square: "))
print("Area of square =", s * s)