Untitled

mail@pastecode.io avatar
unknown
plain_text
6 months ago
184 B
0
Indexable
Never
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)