Skip to content

Write a Python program to enter length and breadth of a rectangle and find its perimeter and Area.

PYTHON

Write a Python program to enter length and breadth of a rectangle and find its perimeter and Area.

len = int(input("Enter the Length of the Rectangle :-")) bre = int(input("Enter the Breadth of the Rectangle :-")) area = len * bre peri = 2*(len + bre) print("The Area is :- ",area) print("The Perimeter is :- ",peri)

OUTPUT

Leave Your Comment