1. Home
  2. Progression

Progression

Lists of numbers ascending or descending with equal increments can be specified succinctly using the form “number, number ... number” where the first two numbers define the first two elements in the list (and thus the increment) and the list ends with the value beyond which the third number would be passed. For lists with an increment of plus or minus one, the second number can be omitted, to give the form “number ... number“.

Updated on February 25, 2019

Was this article helpful?