diff --git a/snippet_data/snippetList.json b/snippet_data/snippetList.json index e81ff1c1f..2d5faa268 100644 --- a/snippet_data/snippetList.json +++ b/snippet_data/snippetList.json @@ -884,14 +884,14 @@ "type": "snippetListing", "title": "max_element_index", "attributes": { - "text": "Returns the pindex of the element with the maximum value in a list.\n\nUse `max()` and `list.index()` to get the maximum value in the list and return its index.\n\n", + "text": "Returns the index of the element with the maximum value in a list.\n\nUse `max()` and `list.index()` to get the maximum value in the list and return its index.\n\n", "tags": [ "list", "beginner" ] }, "meta": { - "hash": "b482aa65907f5e1516d22e1e1ba88a87234a83e8db220a11e9ea4687cee6376c" + "hash": "efccd7f3d8767fa7c7759cab5eec415fdd51bf095dffe197861136b013623fe7" } }, { diff --git a/snippet_data/snippets.json b/snippet_data/snippets.json index e6e78109c..124b227f3 100644 --- a/snippet_data/snippets.json +++ b/snippet_data/snippets.json @@ -1398,7 +1398,7 @@ "type": "snippet", "attributes": { "fileName": "max_element_index.md", - "text": "Returns the pindex of the element with the maximum value in a list.\n\nUse `max()` and `list.index()` to get the maximum value in the list and return its index.\n\n", + "text": "Returns the index of the element with the maximum value in a list.\n\nUse `max()` and `list.index()` to get the maximum value in the list and return its index.\n\n", "codeBlocks": { "code": "def max_element_index(arr):\r\n return arr.index(max(arr))", "example": "thon\r\nmax_element_index([5, 8, 9, 7, 10, 3, 0]) # 4" @@ -1409,11 +1409,11 @@ ] }, "meta": { - "hash": "b482aa65907f5e1516d22e1e1ba88a87234a83e8db220a11e9ea4687cee6376c", + "hash": "efccd7f3d8767fa7c7759cab5eec415fdd51bf095dffe197861136b013623fe7", "firstSeen": "1572507741", - "lastUpdated": "1572507741", - "updateCount": 2, - "authorCount": 2 + "lastUpdated": "1578656508", + "updateCount": 3, + "authorCount": 3 } }, {