# Write a function to calculate area and perimeter of a rectangle.
lenth=int(input("Enter the Lenth of Rectangle:"))
width=int(input("Enter the Breadth of the Rectangle:"))
def rectangle(lenth,width):
    print("The Permiter of the Rectangle is:",2*lenth+2*width,"cm")
    print("The Area of the Rectangle is:",lenth*width,"cm*2")

rectangle(lenth,width)    