l = float(input('Enter the length of a Rectangle: '))
b = float(input('Enter the breadth of a Rectangle: '))
Area = l * b
print("Area of a Rectangle is: %.2f" %Area)
def Rectangle(l,b):
area = l*b
return area
def main():
length = int(input("Enter integer value of length: "))
breadth = int(input("Enter integer value of breadth: "))
areaOfRectangle = Rectangle(length, breadth)
print("Area of the rectangle is: ",areaOfRectangle)
main()
def AreaofRectangle(width, height):
Area = width * height
print("Area of a Rectangle is: %.2f" %Area)
AreaofRectangle(8, 6)