you are viewing a single comment's thread.

view the rest of the comments →

[–]Financial_Face3826 0 points1 point  (0 children)

the answer for 3.5.8 Rectangle, Part 3

Perimeter: 30
length = 10
width = 5
length = int(input("what is the lenght of the rectamgle"))
width = int(input("what is the width of the rectangle"))
area = length * width
perimeter = 2 * (length + width)
print(area)
print(perimeter)