evazkj
11/7/2018 - 3:30 PM

Python core

core MISC

global & nonlocal

global goes the root level code. nonlocal goes to the upper level. You should use a separate line to claim the variable.