Write a Python program to enter length and breadth of a rectangle and find its perimeter.
PROGRAM
# Python program to calculate the perimeter of a rectangle
# Input: Length and Breadth
length = float(input(“Enter the length of the rectangle: “))
breadth = float(input(“Enter the breadth of the rectangle: “))
# Calculate Perimeter
perimeter = 2 * (length + breadth)
# Output: Perimeter
print(“The perimeter of the rectangle is:”, perimeter)
OUTPUT
