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

# Static

length = 6

breadth = 5

perimeter = 2*(length+breadth)

print(“The Perimeter of a rectangle is :-“,perimeter)

# Dynamic

length = int(input(“Enter the length of a rectangle :-“))
 
breadth = int(input(“Enter the bredth of a rectangle :-“))
 
perimeter = 2*(length+breadth)
 
print(“The Perimeter of a rectangle is :-“,perimeter)