6USING THE DEBUGGER
If you enter the wrong code, the computer won’t give you the right program. A computer program will always do what you tell it to, but what you tell it to do might not be what you actually want it to do. These errors are bugs in a computer program. Bugs happen when the programmer has not carefully thought about exactly what the program is doing.
Types of Bugs
There are three types of bugs that can happen in your program:
Syntax errors This type of bug comes from typos. When the Python ...
Get Invent Your Own Computer Games with Python , 4th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.