This commit is contained in:
Rob-Rychs
2018-04-17 02:05:26 -07:00
parent cb65204bd5
commit 163d439bc7

View File

@ -4,7 +4,7 @@
Returns the average of two or more numbers. Returns the average of two or more numbers.
Takes the sum of all the `args` and divides it by `len(args)`. The second argument `0.0` in sum is to handle floating point division in `python2`. Takes the sum of all the `args` and divides it by `len(args)`. The second argument `0.0` in sum is to handle floating point division in `python3`.
```python ```python
def average(*args): def average(*args):