input: def calculate_expression(expr: str) -> float:
      """ Evaluates a string containing a numerical expression and returns the result.
      >>> calculate_expression('2 + 3 * 4')
      14.0
      >>> calculate_expression('9 - 5 / 2')
      6.5
      """
      return eval(expr)
output:     return eval(expr)