Python Basic, 3. Write a Python program to enter length and breadth of a rectangle and find its perimeter.
3. Write a Python program to enter length and breadth of a rectangle and find its perimeter. Solution :- 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) Output :-