Python Unboundlocalerror Local Variable F Referenced Before Assignment Stack Overflow

Python Unboundlocalerror Local Variable F Referenced Before Assignment Stack Overflow