测试代码的绿色播放按钮变灰。这是之后,我创建了一个新的项目后删除了一个旧的。最初,它一直试图搜索一个在旧项目之后很久就被删除的文件,我把代码放在新项目中。因此,它不断地给出一个错误。你知道吗
后来,绿色的“播放”和“调试”按钮完全变灰,无法点击。你知道吗
这是密码。目前这只是一个简单的概念;我正在做一个简单的自上而下的游戏设计的在线课程,因为我还是个呆子。你知道吗
def Initialize():
# Initialize game
print("Initializing")
def ContinueGame():
# Return false if game should end, true if game is not over
print("Checking to see if we should continue")
return True
def DoRound():
# Perform one round of the game
print("Doing one round")
# Initialize game
Initialize()
# while game not over
while ContinueGame():
# Do a round of the game
DoRound()
如您所见,它没有给出从旧文件调用的指令。你知道吗
我正在使用pycharm社区版2016.3
目前没有回答
相关问题 更多 >
编程相关推荐