Answers for "python functions to calculate the area of rectangle"

0

python area of rectangle

l = float(input('Enter the length of a Rectangle: '))
b = float(input('Enter the breadth of a Rectangle: '))
Area = l * b
print("Area of a Rectangle is: %.2f" %Area)
Posted by: Guest on April-23-2021
-1

Python program to calculate area of a rectangle using function

def AreaofRectangle(width, height):
    Area = width * height
    print("Area of a Rectangle is: %.2f" %Area)
AreaofRectangle(8, 6)
Posted by: Guest on August-17-2021

Code answers related to "python functions to calculate the area of rectangle"

Python Answers by Framework

Browse Popular Code Answers by Language