Clarify the prompt in an example.

This closes SF bug #450633.
This commit is contained in:
Fred Drake 2001-08-14 19:55:42 +00:00
parent 7713ac2ff1
commit d3ba10f4b5
1 changed files with 1 additions and 1 deletions

View File

@ -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'