Data Structures and Algorithms

by Albert Major


Types of Errors & How to Fix Them

  1. Indentation Errors (Python-specific)
  2. Syntax Errors (Detected Before Running the Code)
  3. Runtime Errors (Detected While Running the Code)
  4. Debugging a TypeError Example

Using Breakpoints for Debugging


Fixing a New Error: UnboundLocalError