Python Global Variables: Example of Modifying Value Within a Function