它不断出现EOL while scanning string literal
,但这意味着什么?在
这是它一直调用错误的部分:
if health2 <= 3:
print ("With all the strength you have left you attack one final time to deliver the
finishing blow. The zombie falls to the ground dead as you stand over it victorious. You can
now continue your quest to cross the country.")
这意味着您的字符串文本格式不正确。您需要对multi-line string使用三引号:
仅用单引号括起来的字符串文字不能跨越多行。在
相关问题 更多 >
编程相关推荐