UnboundLocalError: local variable 'balance' referenced before assignment (Python)
1462
UnboundLocalError on local variable when reassigned after first use
131165
Python: NameError: global name 'foobar' is not defined
64768
How is __eq__ handled in Python and in what order?
60938
How to dynamically create a local variable?
34224
What is an "index out of range" exception, and how do I fix it?
12738
Correct Use Of Global Variables In Python 3
81080
ReferenceError: PF is not defined
62927
Python scope: "UnboundLocalError: local variable 'c' referenced before assignment"
2266
Why is my variable local in one 'while read' loop, but not in another seemingly similar loop?
35483
Multiple assignment and evaluation order in Python
146740
Getting Error: "Illegal assignment from List to List"
32681
django MultiValueDictKeyError error, how do I deal with it
56024
Error in  : target of assignment expands to non-language object
38007
Python augmented assignment issue
2701
Assigning to variable from parent function: "Local variable referenced before assignment"
68922
How to assign from a function which returns more than one value?
46205
UnboundLocalError with nested function scopes