2.Take values of length and width of a rectangle from user and check if it is square or not.
Answers
Answered by
4
Answer:
a= int(input("enter the length of rectangle"))
b=int(input("enter width of rectangle"))
if a==b:
print("it is a square")
else:
print("it is not a square")
Similar questions