local variable referenced before assignment 原因及解决办法

NoSuchKey