My code:
print(player_cards[card], end = ", ")
And this is the error message I got:
File "--------", line 97
print(player_cards[card], end = ", ")
^
SyntaxError: invalid syntax
It works perfectly in Pycharm and IDLE, I got this message only when I run it in terminal(Mac)