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.
There was an error while loading. Please reload this page.
1 parent 46b4a5e commit e65cb19Copy full SHA for e65cb19
1 file changed
Doc/tutorial/controlflow.rst
@@ -19,14 +19,14 @@ example::
19
>>> x = int(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