You Should use Type Checking on your Python code
If you have been programming (in Python) for some time you must know this feeling: you write some code, run it for the first time, and it fails on a dumb mistake. But there is a way to get it to run first try.