IndexError: tuple index out of range

python3 mistake:IndexError: tuple index out of range
当我的编辑器报这个错误的时候,整个人都是晕的,我根本就没有用tuple。
找了一个下午,结果发现是:
我定义一个函数的时候,忘了return 返回值。
谨记!谨记!

猜你喜欢

转载自blog.csdn.net/hymanjack/article/details/78867973