Anjeev Singh Academy

Python Programs to calculate the area and perimeter of a rectangle

Python program to calculate the area and perimeter of a rectangle

# Language : Python
# Topic: to calculate the area and perimeter of a rectangle
# Author : Anjeev Singh
#############################
length = int(input("Enter Length of Rectangle : "))

breadth = int(input("Enter Breadth of Rectangle : "))

area = length * breadth
print("Area of Rectangle : ", area)

perimeter = 2 * (length + breadth)
print("Perimeter of Rectangle : ", perimeter)

Sorry! You cannot copy content of this page. Please contact, in case you want this content.

Scroll to Top