Local Variable X Referenced Before Assignment Python Loqcal

Local Variable X Referenced Before Assignment Python Loqcal