擅长:python、mysql、java
<p>问题是您使用的制表符和空格不一致</p>
<p>(<a href="https://medium.com/@peey/what-is-the-inconsistent-use-of-tabs-and-spaces-in-indentation-error-and-why-is-it-caused-f3bbb8b2568b" rel="nofollow noreferrer">https://medium.com/@peey/what-is-the-inconsistent-use-of-tabs-and-spaces-in-indentation-error-and-why-is-it-caused-f3bbb8b2568b</a>)</p>
<p>如果使用vim作为文本编辑器,可以使用“:retab”修复此问题</p>