Skip to content

Instantly share code, notes, and snippets.

@brydavis
Created July 9, 2019 23:36
Show Gist options
  • Save brydavis/a875df7441ad8f88c918e74c774806cd to your computer and use it in GitHub Desktop.
Save brydavis/a875df7441ad8f88c918e74c774806cd to your computer and use it in GitHub Desktop.
Simple script for demonstrating the Python Debugger (PDB)
def some_func(n):
return n
def another_func(x):
return x
def divide(x, y):
return x / y
for i in range(100):
print(divide(100, 50 - i))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment