Continue 循环报错
L = [75, 98, 59, 81, 66, 43, 69, 85]
sum = 0.0
n = 0
for x in L:
if x < 60:
continue
sum+=x
n = n + 1
print sum / n
这是课上的代码,目的是统计及格分数的平均分,剔除小于60的值。运行的时候报错 “ sum+=x”这句报错“unindent does not match any outer indentation level”问题是我缩进都对的好好地啊,求教一下大佬们。