Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

Python code to find Area of Rectangle

def Rectangle(l,b):
    area = l*b
    return area
def main():
    length = int(input("Enter integer value of length: "))
    breadth = int(input("Enter integer value of breadth: "))
    areaOfRectangle = Rectangle(length, breadth)
    print("Area of the rectangle is: ",areaOfRectangle)
    
main()
Source by softhunt.net #
 
PREVIOUS NEXT
Tagged: #Python #code #find #Area #Rectangle
ADD COMMENT
Topic
Name
5+2 =