And I really thought appending strings together and calling exec was the proper way to write code.

I didn't even know you could write integers with Python. I'll start applying these principles in my code post-haste.