Python Getting Name Is Not Defined Error But It Is Defined Stack

Python Getting Name Is Not Defined Error But It Is Defined Stack