Commit 76ae0226 authored by Ezio Melotti's avatar Ezio Melotti

Fix indentation in doc example.

parent 1e90c5b0
......@@ -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
......
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