input: 
  from typing import List
  
  def compute_expression(expr: str) -> float:
      """Evaluate the numerical expression provided in the input string and return the result.
      >>> compute_expression('2 + 3')
      5.0
      >>> compute_expression('10 / 2')
      5.0
      >>> compute_expression('5 * (2 + 3)')
      25.0
      >>> compute_expression('4 / (2 - 2)')
      Traceback (most recent call last):
          ...
      ZeroDivisionError: float division by zero
      """
      return eval(expr)
  
output:     try:
          return float(eval(expr))
      except ZeroDivisionError as e:
          raise e