# Title: Shapes program # Author: Carla # Date: 12/11/2026 # Version: 1 # Purpose: This program will calculate the area, perimeter, and circumference of a shape. print("This program calculates the perimeter and area of different shapes.. lets begin") shape = input('Choose a shape from the following: circle, square, rectangle. ') if shape == 'rectangle': print('rectangle') length = float(input('What is the lenth of the side? ')) width = float(input('What is the width of the side? ')) area = width * length perimeter = (length * width) *2 print(f'The perimeter is {perimeter} and the area is {area}.') elif 'square': print('square') else: print('circle') print('The program has ended.')