#shape program shape = input('What shape? ') if shape == 'square': length = int(input('How long is your square? (in metres) ')) print(f'The perimeter is {length * 4} metres and the area is {length * length} metres.') elif shape == 'rectangle': length = int(input('How long is your rectangle? (in metres) ')) width = int(input('How wide is your rectangle? (also metres) ')) print(f'The perimeter is {2 * (length + width)} metres and the area is {length * width} metres.') elif shape == 'circle': radius = int(input('What the radius of your circle? (in metres). ')) print(f'The area of your circle is {3.14 * radius * radius} metres squared and the circumference is {2 * 3.14 * radius} metres. ') else: print('That shape is either not an option, you spelt it wrong, or used a capital')