[docs] Section 2.1.2 tutorial question
Will Flanagan
will.flanagan at Colorado.EDU
Fri Jan 14 01:03:53 CET 2011
Hi,
I am reading the second page of your tutorial:
http://docs.python.org/tutorial/interpreter.html
When we arrive at this example in section 2.1.2, it is not clear how to get to the secondary prompt:
>>> the_world_is_flat = 1
>>> if the_world_is_flat:
... print "Be careful not to fall off!"
...
Be careful not to fall off!
If I type "if the_world_is_flat:" and hit enter, an error is generated. How do I get to the secondary prompt for the next line of the example?
I am this doing this tutorial with a bash shell.
Many thanks in advance,
Will
More information about the docs
mailing list