fix typos
This commit is contained in:
@ -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)
|
||||
|
||||
@ -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
|
||||
```
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user