You can return early to handle special cases: python def divide(a, b): if b == 0: return None # Can't divide by zero return a / b When b is zero, we return immediately.
The rest of the function doesn't run. Early returns reduce nesting. Instead of wrapping everything in an if-else, handle the special case and exit. The main logic stays at the top level.