今天调试程序,出现错误:IndentationError: unindent does not match any outer indentation level
查找资料后发现是tab与space混用,在sublime里ctrl+a全选代码后,可以看到又短横线和长横线,修改后即可正常运行