UnboundLocalError: cannot access local variable 'x' where it is not associated with a value。程序显示变量有问题。有大神解答吗

python程序显示变量有问题
- 写回答
- 好问题 0 提建议
- 关注问题
- 邀请回答
-
UnboundLocalError: cannot access local variable 'x' where it is not associated with a value。程序显示变量有问题。有大神解答吗