私は Python を初めて使用し、私のゲーム The Quest for the Diamond Sword で問題が発生しています。スクリプトを実行するたびに、
File "/Users/parent/Desktop/Python applets/The Quest for the Diamond Sword.py", line 16
if direction == 'Right'
^
SyntaxError: invalid syntax
' を " に変更しようとしましたが、うまくいきません。