How can I access a variable defined in a nested function in Python

welcome to shbcf.ru