mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-09 00:06:47 +02:00
Fixed erroneous output stated in a comment
range( start = lower limit, End is < Upper limit , Step) The upper limit is never printed. Fixed the error.
This commit is contained in:
@@ -425,7 +425,6 @@ by step. If step is not indicated, the default value is 1.
|
|||||||
prints:
|
prints:
|
||||||
4
|
4
|
||||||
6
|
6
|
||||||
8
|
|
||||||
"""
|
"""
|
||||||
for i in range(4, 8, 2):
|
for i in range(4, 8, 2):
|
||||||
print(i)
|
print(i)
|
||||||
|
Reference in New Issue
Block a user