fix typos

This commit is contained in:
huybery
2018-02-21 22:30:56 +08:00
parent 01add73569
commit d01509e934
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
average:[Rohit Tanwar](@kriadmin)
average:[Rohit Tanwar](@kriadmin),[Hui Binyuan](@huybery)
chunk:[Rohit Tanwar](@kriadmin)
compact:[Rohit Tanwar](@kriadmin)
count_occurences:[Rohit Tanwar](@kriadmin)

View File

@ -4,7 +4,7 @@
Returns the average of two or more numbers.
Takes the sum of all the `args` and divides it by `len(args)`. The secind 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 `python2`.
```python
def average(*args):
@ -14,4 +14,4 @@ def average(*args):
``` python
average(*[1, 2, 3]) # 2.0
average(1, 2, 3) # 2.0
```
```