I'm following http://docs.python.org/tutorial/interpreter.html to type in the 
first script into python.

According to the link, I typed below:

>>> the_world_is_flat = 1
>>> if the_world_is_flat:
...     print "Be careful not to fall off!"

Then I get below output:
File "<stdin>", line1
  Print "dd"
    ^
IndentationError:expected an indented block


This is incorrect. According to the book, I should get:
Be careful not to fall off!



Anyone can tell me where the problem is or any suggestion about it?



Thanks
Xianming
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to