程序报错但不知道哪里出错
刚刚接触啥都不懂,请问大神下面哪里错了,谢谢
sum = 0
x = 1
while True:
if x % 2 <> 0:
sum = sum + x
if x > 100:
break
if x % 2 == 0:
continue
x = x + 1
print sum
程序报错:
File "index.py", line 10
if x % 2 == 0:
^
IndentationError: unindent does not match any outer indentation level
感激不尽~