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