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

Fix indentation in doc example.

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