Created
July 9, 2019 23:36
-
-
Save brydavis/a875df7441ad8f88c918e74c774806cd to your computer and use it in GitHub Desktop.
Simple script for demonstrating the Python Debugger (PDB)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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