mac系统下使用vscode插件code runner运行python出现SyntaxError: invalid syntax错误 mac 自带 python2 在未设置的code runner默认使用python2运行 ,导致一些python3的语法不支持 改成python3 即可