""" File: rectangle.py Author: Schafer Description: Takes in a length and a width of the rectangle as integers and calculates the area and perimeter """ answer = input("What is the length of the rectangle? ") length = int(answer) answer = input("What is the width of the rectangle? ") width = int(answer) perimeter = 2*length + 2*width area = length * width print("The perimeter of this rectangle is " + str(perimeter) ) print("The area of this rectangle is " + str(area) )