Traceback (most recent call last):
File "C:\Python\ZombieGameImages\ZombielandI_NLoo.py", line 27, in <module>
gm.over(True)
TypeError: 'bool' object is not callable
if gm.time<1: #function that causes error
gm.over(True)
当我尝试使用if时,会出现上述错误总经理时间;在我的程序中是1。 我在学校学习Python,所以对Python还是个新手。 帮忙吗?在
在总经理是bool类型的,你把它叫做method。。。 设置如下:
相关问题 更多 >
编程相关推荐