Update snippet descriptions
This commit is contained in:
@ -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):
|
||||
|
||||
Reference in New Issue
Block a user