Python Program to find Perimeter of a rectangle
perimeter of the rectangle = 2*(l+b)l = length of a rectangleb = breadth of the rectangleIn this program we are going to find the perimeter of the rectangle by using formula. This is the one way to find the perimeter of a rectangle
Input:
6 7
Output:
26
Explanation:
l = 6 , b = 7
perimter of rectangle = 2*( l +b ) = 2*( 6 + 7 ) = 26
Code:
length, width = map( int, input().split())
print(2 * ( length + width))
Note:
Hello Guys, Don't Stop Learning keep Going..............