Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65162a7 commit 4645bb6Copy full SHA for 4645bb6
1 file changed
Doc/tutorial/controlflow.rst
@@ -19,14 +19,14 @@ example::
19
>>> x = int(raw_input("Please enter an integer: "))
20
Please enter an integer: 42
21
>>> if x < 0:
22
- ... x = 0
23
- ... print 'Negative changed to zero'
+ ... x = 0
+ ... print 'Negative changed to zero'
24
... elif x == 0:
25
- ... print 'Zero'
+ ... print 'Zero'
26
... elif x == 1:
27
- ... print 'Single'
+ ... print 'Single'
28
... else:
29
- ... print 'More'
+ ... print 'More'
30
...
31
More
32
0 commit comments