Created
March 6, 2018 18:07
-
-
Save DTAIEB/515a2d1b3aa1ee6c862db218787bf7be to your computer and use it in GitHub Desktop.
Sample Code for illustrating how the PixieDebugger works
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
%%pixie_debugger | |
import random | |
def find_max (values): | |
max = 0 | |
for val in values: | |
if val > max: | |
max = val | |
return max | |
find_max(random.sample(range(100), 10)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment