#this program calculates the area and perimeter of different shapes V1 print('this program calculates the area and perimeter of different shapes, ') shape = input('choose a shape, 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')