From d01509e9345014bc80f458884496e15c2236dfcd Mon Sep 17 00:00:00 2001 From: huybery <707146450@qq.com> Date: Wed, 21 Feb 2018 22:30:56 +0800 Subject: [PATCH] fix typos --- contributor_database | 2 +- snippets/average.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contributor_database b/contributor_database index a97654200..009d86b35 100644 --- a/contributor_database +++ b/contributor_database @@ -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) diff --git a/snippets/average.md b/snippets/average.md index 746f6f746..85acb9475 100644 --- a/snippets/average.md +++ b/snippets/average.md @@ -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 -``` \ No newline at end of file +```