【python】unboundlocalerror Local Variable X Referenced Before

【python】unboundlocalerror Local Variable X Referenced Before