我正在 python 上制作一个刽子手游戏,当我尝试运行它时,会出现此错误消息。如果有人能告诉我这意味着什么,我将不胜感激。
Traceback (most recent call last):
File "D:\Computing\Unit 3\Hangman\hangmanv2.py", line 200, in <module>
hangmangame()
File "D:\Computing\Unit 3\Hangman\hangmanv2.py", line 195, in hangmangame
newwords()
File "D:\Computing\Unit 3\Hangman\hangmanv2.py", line 187, in newwords
hangmangame()
File "D:\Computing\Unit 3\Hangman\hangmanv2.py", line 158, in hangmangame
guessletter()
File "D:\Computing\Unit 3\Hangman\hangmanv2.py", line 136, in guessletter
print(hangmanpics[0])
IndexError: list index out of range