#This program calculates the area and perimeter of a rectangle.
print('Type in the lenght and breadth.')
length=float(input('length: '))
breadth=float(input('breadth: '))
print('Area = ',(length*breadth))
print('Perimeter = ',(length*2+breadth*2))