Given the following function in python I would like to update the global variable before calling "next()". Let me show it to you with an example.<