UnboundLocalError: local variable ‘X’ referenced before assignment

This is very very common issue for beginners of Python.

Let me try tell you why:  my answer on Stack Overflow 


不知是该恭喜,还是该怎样,总之阅读到该文的,你是第 人。每一次刷新,都是不同的自己。