Skip to main content

Posts

Showing posts with the label #Write a Python program to enter length and breadth of a rectangle and find its area.

ads1

Python basic,4. Write a Python program to enter length and breadth of a rectangle and find its area.

                           4. Write a Python program to enter length and breadth of a rectangle and find its area. Solution :- length = int(input("Enter the length of a rectangle :-")) breadth = int(input("Enter the breadth of a rectangle :-")) area = length * breadth print("The area of Rectangle is :- ",area) Output :-

ads2