Take values of length and breadth of a rectangle from the user and check if it is square or not. ( in Python )
Answers
Answered by
11
Answer:
Explanation:
a=int(input("enter the length of the figure"))
b=int(input("enter the breadth of the figure"))
if a==b:
print("the figure is a square")
else:
print("the figure is not a square")
Similar questions