input: def eval_expr(expr: str) -> float:
      """ Evaluates a string containing a numerical expression and returns the result.
      >>> eval_expr('2 + 3 * (4 - 1)')
      11
      >>> eval_expr('(5 + 7) / 2')
      6.0
      """
output:     return eval(expr)