Update snippet descriptions
This commit is contained in:
@ -3,9 +3,9 @@ title: average
|
||||
tags: math,list,beginner
|
||||
---
|
||||
|
||||
Returns the average of two or more numbers.
|
||||
Calculates the average of two or more numbers.
|
||||
|
||||
- Use `sum()` to sum all of the `args` provided, divide by `len(args)`.
|
||||
- Use `sum()` to sum all of the `args` provided, divide by `len()`.
|
||||
|
||||
```py
|
||||
def average(*args):
|
||||
|
||||
Reference in New Issue
Block a user