Travis build: 328

This commit is contained in:
30secondsofcode
2020-01-10 11:45:16 +00:00
parent 6080cd1257
commit 41775f6e35
2 changed files with 7 additions and 7 deletions

View File

@ -884,14 +884,14 @@
"type": "snippetListing", "type": "snippetListing",
"title": "max_element_index", "title": "max_element_index",
"attributes": { "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": [ "tags": [
"list", "list",
"beginner" "beginner"
] ]
}, },
"meta": { "meta": {
"hash": "b482aa65907f5e1516d22e1e1ba88a87234a83e8db220a11e9ea4687cee6376c" "hash": "efccd7f3d8767fa7c7759cab5eec415fdd51bf095dffe197861136b013623fe7"
} }
}, },
{ {

View File

@ -1398,7 +1398,7 @@
"type": "snippet", "type": "snippet",
"attributes": { "attributes": {
"fileName": "max_element_index.md", "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": { "codeBlocks": {
"code": "def max_element_index(arr):\r\n return arr.index(max(arr))", "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" "example": "thon\r\nmax_element_index([5, 8, 9, 7, 10, 3, 0]) # 4"
@ -1409,11 +1409,11 @@
] ]
}, },
"meta": { "meta": {
"hash": "b482aa65907f5e1516d22e1e1ba88a87234a83e8db220a11e9ea4687cee6376c", "hash": "efccd7f3d8767fa7c7759cab5eec415fdd51bf095dffe197861136b013623fe7",
"firstSeen": "1572507741", "firstSeen": "1572507741",
"lastUpdated": "1572507741", "lastUpdated": "1578656508",
"updateCount": 2, "updateCount": 3,
"authorCount": 2 "authorCount": 3
} }
}, },
{ {