Print statements are awesome for debugging! I would also try import pdb; pdb.set_trace() in Python as well to set breakpoints! It will bring up a REPL at the point where you are having unexpected results so you can play around and work on fixing it!
Freshly minted web developer. Always learning, ever curious, and considering options for how and when to move forward. I eat, breathe, and sleep JavaScript.
Print statements are awesome for debugging! I would also try
import pdb; pdb.set_trace()
in Python as well to set breakpoints! It will bring up a REPL at the point where you are having unexpected results so you can play around and work on fixing it!Getting back to Python is on my to-do list. When I get there, I will absolutely do this! Thanks for the heads up!