Write a program in Python that accepts sides of a rectangle by the user and prints theperimeter of the rectangle.
need quickly
Answers
Answered by
0
Answer:
length=float(input("enter length:"))
breadth=float(input("enter breadth:"))
perimeter=2(length+breadth)
print("perimeter is",perimeter)
Similar questions
Science,
4 months ago
Accountancy,
4 months ago
Social Sciences,
4 months ago
Biology,
8 months ago
Music,
8 months ago
Hindi,
11 months ago
Math,
11 months ago
English,
11 months ago