From 1a6edf1a072a27309a9d6b8e7569ecdfde55f53a Mon Sep 17 00:00:00 2001 From: Rohit Tanwar Date: Sun, 21 Jan 2018 10:58:47 +0530 Subject: [PATCH] fix zip example --- snippets/zip.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snippets/zip.md b/snippets/zip.md index e0a8c4c72..0d171a662 100644 --- a/snippets/zip.md +++ b/snippets/zip.md @@ -19,7 +19,7 @@ def zip(*args, fillvalue=None): ``` ``` python -zip(['a', 'b'], [1, 2], [True, False]) // [['a', 1, True], ['b', 2, False]] -zip(['a'], [1, 2], [True, False]) // [['a', 1, True], [None, 2, False]] -zip(['a'], [1, 2], [True, False], fill_value = '_') // [['a', 1, True], ['_', 2, False]] +zip(['a', 'b'], [1, 2], [True, False]) # [['a', 1, True], ['b', 2, False]] +zip(['a'], [1, 2], [True, False]) # [['a', 1, True], [None, 2, False]] +zip(['a'], [1, 2], [True, False], fill_value = '_') # [['a', 1, True], ['_', 2, False]] ``` \ No newline at end of file