Fix indentation in doc example.

This commit is contained in:
Ezio Melotti 2013-11-17 22:07:48 +02:00
parent 46b4a5e51e
commit e65cb190a6

View file

@ -19,14 +19,14 @@ example::
>>> x = int(input("Please enter an integer: "))
Please enter an integer: 42
>>> if x < 0:
... x = 0
... print('Negative changed to zero')
... x = 0
... print('Negative changed to zero')
... elif x == 0:
... print('Zero')
... print('Zero')
... elif x == 1:
... print('Single')
... print('Single')
... else:
... print('More')
... print('More')
...
More