#Shape programme shape = input('What shape? Square, Circle, or Rectangle? ') if shape == 'Square': length = int(input("You've selected a square. How long is your square in metres? (don't put the m after it) ")) print(f'The perimeter of your square is {length * 4} metres. The area of your square is {length * length}m^2.') elif shape == 'Rectangle': length = int(input("You've selected a rectangle. How long is the rectangle in metres? (don't put the m after it) " )) width = int(input('What is the width? ')) print(f'The perimeter of your rectangle is {(length + width) * 2} metres. The area of your rectangle is {length * width}m^2.') elif shape == 'square': length = int(input("You've selected a square. How long is your square in metres? (don't put the m after it) ")) print(f'The perimeter of your square is {length * 4} metres. The area of your square is {length * length}m^2.') elif shape == 'rectangle': length = int(input("You've selected a rectangle. How long is the rectangle in metres? (don't put the m after it) " )) width = int(input('What is the width? ')) print(f'The perimeter of your rectangle is {(length + width) * 2} metres. The area of your rectangle is {length * width}m^2.') elif shape == 'Circle': radius = int(input("You've selected a circle, what is the radius of your circle in metres? (don't put the m after the number) ")) print(f'The circumference of your circle is {2 * 3.14 * radius} metres. The area of your circle is {3.14 * (radius * radius)}m^2.') elif shape == 'circle': radius = int(input("You've selected a circle, what is the radius of your circle in metres? (don't put the m after the number) ")) print(f'The circumference of your circle is {2 * 3.14 * radius} metres. The area of your circle is {3.14 * (radius * radius)}m^2.') else: print("You've selected something that is not an option")