input: 
  def eval_expr(expr: str) -> float:
      """ Evaluates a given string containing a numerical expression and returns the result.
      >>> eval_expr("2 + 3 * 4")
      14.0
      >>> eval_expr("(10 - 4) / 2")
      3.0
      """
  
output:     return eval(expr)