Python Prevent Variable From Being Changed