Everybody makes errors—even seasoned skilled builders!
IDLE is fairly good at catching errors like syntax errors and run-time errors, however there’s a 3rd sort of error that you could have already skilled. Logic errors happen when an in any other case legitimate program doesn’t do what was meant.
Logic errors trigger sudden behaviors referred to as bugs. Eradicating bugs is known as debugging, and a debugger is a software that helps you seek out bugs and perceive why they’re occurring.
Figuring out the right way to discover and repair bugs in your code is a talent that you’ll use on your whole coding profession!
On this Python Fundamentals video course, you’ll:
- Learn to use IDLE’s Debug Management window
- Observe debugging on a buggy operate
- Study different strategies for debugging your code