From 74086f9f8a8dce564be07c86ecd5e74057bba8d4 Mon Sep 17 00:00:00 2001 From: Kristofer Koishigawa Date: Mon, 15 Oct 2018 20:52:19 +0900 Subject: [PATCH] Update index.md --- .../guide/english/python/range-function/index.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/client/src/pages/guide/english/python/range-function/index.md b/client/src/pages/guide/english/python/range-function/index.md index 9e37886003..15f992c05d 100644 --- a/client/src/pages/guide/english/python/range-function/index.md +++ b/client/src/pages/guide/english/python/range-function/index.md @@ -20,11 +20,14 @@ for i in range(5): ``` #### Example with optional additional arguments -The first argument, *start* includes the number at which to start the progression. -The second argument, *stop* is the same as in the example above, and the progression stops before this number. -The third argument, *step* is for when you want to generate numbers, but at a step greater than one. +The first argument, *start*, is the starting number of the sequence. + +The second argument, *stop*, means to generate numbers up to, but not including this number. + +The third argument, *step*, is the amount to increment by. In other words, it's the difference between each number in the sequence. It defaults to 1 if step is not specified. + ```py -for i in range(3,12,2): +for i in range(3, 12, 2): print(i) ```