diff --git a/README.md b/README.md index 1ab39e0..3e054d0 100644 --- a/README.md +++ b/README.md @@ -33,13 +33,13 @@ List ``` ```python -sum_of_elements = sum() +sum_of_elements = sum() 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])) +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, ) +product_of_elems = functools.reduce(lambda out, x: out * x, ) no_duplicates = list(dict.fromkeys()) ```