From 2f9daeca6917c2a3f8a72b61b3667e9675d5d9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jure=20=C5=A0orn?= <sornjure@gmail.com> Date: Mon, 24 Dec 2018 15:33:25 +0100 Subject: [PATCH] Set --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 17d9437..4c37805 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ product_of_elems = functools.reduce(lambda out, x: out * x, <list>) ``` ```python -<int> = <list>.index(<el>) # Returns first index of item. +index = <list>.index(<el>) # Returns first index of item. <list>.insert(index, <el>) # Inserts item at index and moves the rest to the right. <el> = <list>.pop([index]) # Removes and returns item at index or from the end. <list>.remove(<el>) # Removes first occurrence of item.