Write a python program to calculate Area and perimeter of a rectangle.
[Leangth:50 Breadth:20 Area:100 Perimeter:140]
Answers
Answered by
5
Answer:
Hey! This is my code to calculate area and perimeter of rectangle in python
length = 50
breadth = 20
print("Area of rectangle: ", length*breadth)
print("Perimeter of rectangle: ", 2(length+breadth))
HOPE IT HELPS!!
Similar questions