uwhpsc-2016 / homework1

Homework #1
1 stars 1 forks source link

Jupyter Notebooks and Returning Booleans #46

Closed rpm4real closed 8 years ago

rpm4real commented 8 years ago

For some reason, whenever I try to print a function which returns a boolean, my jupyter notebook just prints "None." However, if I do the same thing in python as a script or at the command line, python prints true/false as usual.

Any ideas with this? I was originally working on the is_sdd() function from exercise 3. However I've resorted to debugging with very simple tests cases and found this issue. I am POSITIVE that I re-run my import statements whenever I edit the script/module, and I've tried restarting my jupyter kernel as well.