Untitled

 avatar
unknown
plain_text
2 years ago
184 B
4
Indexable
a=int(input("enter the side a:"))
b=int(input("enter the side b"))
if(a==b):
    print("it is a square and area is:",a*a);
else:
        print("it is a rectangle and area is",a*b)
    
Editor is loading...