错误:
UnboundLocalError: local variable 'x' referenced before assignment
x尚未定义。。。你知道吗
我能在buttonaritmetric中禁用x并且只在我给他打电话时启用吗?你知道吗
buttonAritmethic = (x*imgfW)+buttonCenter, 350
for x in range(buttonReach):
self.canvasbackground = self.canvasFrame.create_image(buttonAritmethic, anchor = "nw", image = self.imgf)
你为什么不把它变成一个函数呢?你知道吗
相关问题 更多 >
编程相关推荐