Helps debug and fix code issues quickly.
Find and fix bugs in the following code: {CODE_HERE} Please: 1. Identify the issue 2. Explain why it's happening 3. Provide the corrected code 4. Suggest best practices to avoid similar issues