Find area of rectangle using python

GOCOURSE

Area of rectangle:

Formula:

Area=length*breadth

Program:

print("Area of rectangle program")
l=int(input("Enter length of rectangle:"))
b=int(input("Enter breadth of rectangle:"))
area=l*b
print("Area of rectangle:",area)

Output:

Area of rectangle program
Enter length of rectangle:10
Enter breadth of rectangle:20
Area of rectangle: 200

Our website uses cookies to enhance your experience. Learn More
Accept !

GocourseAI

close
send