Python shows name error for a dictionary that exists

welcome to shbcf.ru