this is why people use type checkers and write tests. ideally, as much as possible, it shouldn't be necessary for you to read tons of print statements to sanity-check your code. it's best if it's done automatically
I never write unit tests