Python Program to Find Perimeter of Rectangle
Write Python Program to Find Perimeter of Rectangle
# Python Program to Find Perimeter of Rectangle # get the value of length and breadth of rectangle length = float(input("Enter the length :--> ")) breadth = float(input("Enter the breadth :--> ")) #Formula to find the perimeter of Rectangle Perimeter = 2 * (length + breadth) print("Perimeter of Rectangle :--> ", Perimeter)
Output:
Enter the length :--> 20
Enter the breadth :--> 10
Perimeter of Rectangle :--> 60.0