For as long as I have been programming (almost two decades now), I’ve used some form of a print statement for debugging purposes. Using print statements is a good way to trace through your code and ...
When I first learned to program, it was grasping if statements that helped it all click into place for me. Once you can use if statements, you can build all kinds of useful and interesting tools.