Replace usage with `range().unwrap_or_default()` or more appropriate alternatives based on context.
ruff_db