3.5.8: Rectangle, Part 3 code example
Example: 3.5.8: Rectangle, Part 3
length = int(input("What is the length?: "))
width = int(input("What is the width?: "))
area = length*width
perimeter = 2*(length+width)
print (("Area: ") + str(area))
print (("Perimeter: ") + str(perimeter))