Python program to calculate area and perimeter of rectangle

preview_player
Показать описание
Question 2 - Write a program to calculate and display area and perimeter of a rectangle.

Class 11 - First Python Assignment solution
#python #pythonprogram

👉Source code is given in the comment box💖💖

Guys if you also want that i solve your question then comment me.

Asked by
Rashmi Singh
Рекомендации по теме
Комментарии
Автор

#write a program to calculate and display area and perimeter of a rectangle.

length=float(input("Enter length:"))
breadth=float(input("Enter breadth:"))

area=length*breadth
perimeter= 2*(length+breadth)

print("Area of rectangle is", area)

print("Perimeter of rectangle is", perimeter)

parvatcomputertechnology
Автор

I am watching this one hour before my exam😂😂😂

RubyJi-vj
Автор

so when calculating the area and the perimeter of a rectangle do it matter what number I use for it?

Toupot
welcome to shbcf.ru