求大神幫忙解釋下unindent does not match any outer indentation level是什么意思?
>>> score = 85
>>> if score ? ?>=90:
print 'excellent'
? ? elif score ?>=80:
? ?
? File "<pyshell#25>", line 4
? ? elif score ?>=80:
? ? ? ? ? ? ? ? ? ? ^
IndentationError: unindent does not match any outer indentation level
2022-03-24
在好好的體會下。感覺實際上是他講解的邏輯先后的問題,imageObj.src應(yīng)該在前面賦值,就好理解了。onload方法是加載的時候的回調(diào)函數(shù)
2017-09-29
elif與if對齊,并且下一行的print語句應(yīng)該比elif多四個空格。
2017-09-22
你的 elif 應(yīng)該對齊 if
2017-09-11
?if score ? ?>=90:
print 'excellent'
? ? elif score ?>=80:
縮進不正確