Debug File

You write a function to sort a list of user IDs. You run the code. It crashes. You look at the error message: "IndexError: list index out of range." Your brain immediately thinks: "Ah, the list must be empty." You add a check for empty lists. It still crashes. You spend 45 minutes adding empty-list checks, null checks, and type validations. Finally, you realize the error is on line 42 where you accidentally wrote <= instead of < .