Update snippet descriptions

This commit is contained in:
Isabelle Viktoria Maciohsek
2020-11-02 19:27:07 +02:00
parent c469b67f0b
commit a2cd6db3b0
22 changed files with 67 additions and 64 deletions

View File

@ -3,9 +3,9 @@ title: arithmetic_progression
tags: math,beginner
---
Returns a list of numbers in the arithmetic progression starting with the given positive integer and up to the specified limit.
Generates a list of numbers in the arithmetic progression starting with the given positive integer and up to the specified limit.
- Use `range` and `list` with the appropriate start, step and end values.
- Use `range()` and `list()` with the appropriate start, step and end values.
```py
def arithmetic_progression(n, lim):