diff options
author | Stanislav (Stanley) Modrak <44023416+smith558@users.noreply.github.com> | 2022-10-26 18:36:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 18:36:17 +0100 |
commit | c86c82f4b5081f542ea580088b53574c09b6688c (patch) | |
tree | 9f5cba499fb81a02ab1db93ed203a4f20646bda7 | |
parent | 0f97d7cc873baf6b6af1354056f1524bce0b2c24 (diff) |
Update python.html.markdown
-rw-r--r-- | python.html.markdown | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/python.html.markdown b/python.html.markdown index 4aeb93f4..2f91d452 100644 --- a/python.html.markdown +++ b/python.html.markdown @@ -419,7 +419,7 @@ for animal in ["dog", "cat", "mouse"]: """ "range(number)" returns an iterable of numbers -from zero to the given number +from zero up to (but excluding) the given number prints: 0 1 @@ -628,6 +628,12 @@ def set_global_x(num): set_x(43) set_global_x(6) +""" +prints: + 43 + 5 + 6 +""" # Python has first class functions |