Try adding a closing )
to the end of your entrance.write
lines. They seem to be missing. There may also be other errors but this should fix some of them.
As far as your P
key not working. P
is calling the function startGame
. This does not seem like the correct functionality.
solved I keep getting ’21 line errors’ in Python [closed]