Unboundlocalerror: локальная переменная
Add the global keyword to the variable defined outside the function
Real Ratel
Add the global keyword to the variable defined outside the function
Add the global keyword to the variables defiend outside the function