Hi,
I have the following error regarding a loop tutorial found on 
http://www.sthurlow.com/python/lesson04/

>>> a=0
>>> while a<10:
... a=a+1
  File "<stdin>", line 2
    a=a+1
    ^
IndentationError: expected an indented block

When I run Python IDE it seems to work fine.  The following code is:


a=0
while a<10:
    a=a+1
    print a 


Kind regards
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to