IndexError:tuple index out of range

 意思是超出了数组的范围

 使用了正则表达式,一个()表示一个group,把([+|-])的括号加上,问题解决。

猜你喜欢

转载自blog.csdn.net/qq_35355153/article/details/82052142