Python program to print area of rectangle

Python program to print area of rectangle. Print the area of rectangle program in python programming language to understand how the program functions for mathematical operations in python programming language.

print("Enter Length of Rectangle ")
l = float(input())
print("Enter Breadth of Rectangle")
b = float(input())
a = l*b
print("\nArea = ", a)

Enter length of rectangle


Enter breadth of rectangle