From 5186a0dbcf519b77182f76e704ec6129a80a1856 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= Date: Tue, 5 Feb 2019 21:42:51 +0100 Subject: [PATCH] List --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 191837f..f580646 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,8 @@ elementwise_sum = [sum(pair) for pair in zip(list_a, list_b)] sorted_by_second = sorted(, key=lambda el: el[1]) sorted_by_both = sorted(, key=lambda el: (el[1], el[0])) flattened_list = list(itertools.chain.from_iterable()) -list_of_chars = list() product_of_elems = functools.reduce(lambda out, x: out * x, ) +list_of_chars = list() ``` ```python