length=float(input("Enter Length:")) breadth=float(input("Enter Breadth:")) area=length*breadth print("The Area of Rectangle with",length,"Length and",breadth,"Breadth is",area)Output >>> Enter Length:3.5 Enter Breadth:7.25 The Area of Rectangle with 3.5 Length and 7.25 Breadth is 25.375 >>>
No comments
Post your comments