Fill in the blanks:
If you want to modify a global variable from inside a function, then you need to explicitly tell Python to use that global variable.
You can do this using the modifypassgloballocal keyword or the built-in globals()dict()nonlocals() function.
modifypassgloballocal
globals()dict()nonlocals()
Sorry! There has been an error processing your answer. Please try again.
Got feedback on this question?