From c86c82f4b5081f542ea580088b53574c09b6688c Mon Sep 17 00:00:00 2001 From: "Stanislav (Stanley) Modrak" <44023416+smith558@users.noreply.github.com> Date: Wed, 26 Oct 2022 18:36:17 +0100 Subject: [PATCH] Update python.html.markdown --- python.html.markdown | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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