Why does it say (in python) "UnboundLocalError: local variable 'yes' referenced before assignment" when I already defined the variable?
UnboundLocalError on local variable when reassigned after first use