;

# Python Program to Find the Perimeter of a Rectangle Using Length and Width

###### Tutorialsrack 12/05/2020 Python

In this python program, we will learn how to find the perimeter of a rectangle using the length and width.

## What is a Rectangle?

A rectangle is a quadrilateral with four right angles. It can also be defined as an equiangular quadrilateral, since equiangular means that all of its angles are equal. It can also be defined as a parallelogram containing a right angle.

## Formula

Here is the source code of the program to find the perimeter of a rectangle using the length and width.

##### Python Program to Find the Perimeter of a Rectangle Using Length and Width
``````# Python Program to Find the Perimeter of a Rectangle Using Length and Width

# Take the Input From the User
length = float(input("Enter the Length of a Triangle: "))
width = float(input("Enter the Width of a Triangle: "))

# calculate the perimeter
perimeter = 2 * (length + width)

# Print the Output
print("Perimeter of a Rectangle using", length, "and", width, " = ", perimeter)
``````
##### Output

Enter the Length of a Triangle: 5

Enter the Width of a Triangle: 9

Perimeter of a Rectangle using 5.0 and 9.0  =  28.0