Python shell 错误
小弟是一个初学者,搞了很久都没在Pythonshell里面循环成功,请各位大侠指点,谢谢:一下是我在PythonShell里面写的代码,最后就出现了一个错误了,
a,b=0,1
while b < 100:
... print b,
SyntaxError: expected an indented block (<pyshell#18>, line 2)
2010-07-09 08:52
2010-07-09 09:09
2010-07-09 11:13
2010-07-09 17:59
2010-07-09 18:18
2010-07-09 18:20
a,b=0,1
while b<100:
b=b+1
print(b)测试通过
2010-07-09 18:26
2010-07-09 22:31
顶 外部三电铃。
2010-07-10 17:45
2010-08-02 00:50