Handle errors gracefully.
try
except
def safe_divide(a, b): # TODO: try/except ZeroDivisionError pass