D
David Thomas
Hi,
I have the following error regarding a loop tutorial found on http://www.sthurlow.com/python/lesson04/
.... 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
I have the following error regarding a loop tutorial found on http://www.sthurlow.com/python/lesson04/
.... 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