On Mar 24, 5:20 pm, [EMAIL PROTECTED] wrote:
> > File "Python-episode12-Zahlenraten.py", line 15
> > print "Die eingegebene Zahl ist kleiner als die generierte Zahl."
>
> IndentationError: expected an indented block
You should indent stuff inside if-statement deeper than the if itself.
I.e. NOT LIKE THIS:
if x==3:
print x
But like this:
if x==3:
print x
If in your editor it looks like you have done this, the error
is probably that you are mixing tabs and spaces as indentation
and your editor doesn't display tabs as 8 spaces. This leads to
an amazing visual illusion cunnigly developed to turn people away
from Python.
--
http://mail.python.org/mailman/listinfo/python-list