From f6de6cc119eb31e9b27bbfaf2dab0c2bdbf1ae1c Mon Sep 17 00:00:00 2001 From: Rohit Tanwar <31792358+kriadmin@users.noreply.github.com> Date: Tue, 9 Jan 2018 10:43:58 +0530 Subject: [PATCH] Update chunk.md --- snippets/chunk.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/chunk.md b/snippets/chunk.md index a7ae81383..356cc6c54 100644 --- a/snippets/chunk.md +++ b/snippets/chunk.md @@ -2,7 +2,7 @@ Chunks an array into smaller lists of a specified size. -Uses `range` to create a list of desired size. Then use `map` on this list and fill it with splices of `arr` +Uses `range` to create a list of desired size. Then use `map` on this list and fill it with splices of `arr`. ```python from math import ceil @@ -17,4 +17,4 @@ def chunk(arr, size): ``` python chunk([1,2,3,4,5],2) # [[1,2],[3,4],5] -``` \ No newline at end of file +```