# this program calculates perimeter and area of different shapes print (" this program calculates 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")