input: def evaluate_numerical_expression(expr: str) -> float:
      """ Evaluate a given string containing a numerical expression and return the result.
      Example:
      evaluate_numerical_expression("2 + 3 * 5")  # 17
      """
output:     try:
          return float(eval(expr))
      except:
          raise ValueError("Invalid numerical expression")