# This program calculates the perimeter and area of different shapes print ("This program calculates the perimeter and area of different shapes") shape = input("choose a shape from square, rectangle or circle ") #check user input if shape == "square": print ("square") elif shape == "rectangle": print ("rectangle") else: print ("circle") print("The program has ended")