input: 
  def eval_expr(expr: str) -> float:
      """ Evaluate a numerical expression given as a string and return the result.
      >>> eval_expr("2 + 2")
      4
      >>> eval_expr("10 * 5 - 3")
      47
      """
  
output:     return eval(expr)