本人力扣小白,第一天刷题一直出错SyntaxError: invalid syntax,,,, 解决办法: 检查语言选项是否为python3,选python的话,默认为python2,如图 然后就解决了