[Tutor] "expected an indented block" (see attached)
mehgcap at gmail.com
Thu Jul 22 15:30:14 CEST 2010
Attached is a file. When I run the program it is part of, I get an
error that says:
line 62: IndentationError: expected an indented block.
I can see nothing wrong with the indentation, though. This is part of
my Battleship game, defining all the different ships and aircraft the
user can have, as well as the special weapons methods for each ship.
If anyone can spot the problem, it would be great. I know I only
indent one space, instead of the normal four, but I use a screen
reader and it is a lot easier and faster to do it this way. If a
version of Python based on braces instead of indents were released, my
world would be so much better!
Have a great day,
Alex (msg sent from GMail website)
mehgcap at gmail.com; http://www.facebook.com/mehgcap
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5061 bytes
Desc: not available
More information about the Tutor