Commit d3ba10f4 authored by Fred Drake's avatar Fred Drake

Clarify the prompt in an example.

This closes SF bug #450633.
parent 7713ac2f
......@@ -1042,7 +1042,7 @@ Perhaps the most well-known statement type is the
\keyword{if} statement. For example:
\begin{verbatim}
>>> x = int(raw_input("Please enter a number: "))
>>> x = int(raw_input("Please enter an integer: "))
>>> if x < 0:
... x = 0
... print 'Negative changed to zero'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment