Python Add Variable To Object Dynamically Typed Vs Statically Typed