Travis build: 82

This commit is contained in:
30secondsofcode
2019-09-18 06:07:06 +00:00
parent ef04bd6c2b
commit c8341dabdb
3 changed files with 7 additions and 7 deletions

View File

@ -345,14 +345,14 @@
"type": "snippetListing",
"title": "every_nth",
"attributes": {
"text": "Returns every nth element in a list.\n\nUse `[1::nth]` to create a new list that contains every nth element of the given list.\n\n",
"text": "Returns every nth element in a list.\n\nUse `[nth-1::nth]` to create a new list that contains every nth element of the given list.\n\n",
"tags": [
"list",
"beginner"
]
},
"meta": {
"hash": "d5c51547b66fcd9d42def2a6d92ba98429a12c6bec56a0dca8e4c0289525d5de"
"hash": "038e0fd0752bbd88c73ea9059e10768bbf31fd3178113738064405e010aa8aa7"
}
},
{

View File

@ -456,9 +456,9 @@
"type": "snippet",
"attributes": {
"fileName": "every_nth.md",
"text": "Returns every nth element in a list.\n\nUse `[1::nth]` to create a new list that contains every nth element of the given list.\n\n",
"text": "Returns every nth element in a list.\n\nUse `[nth-1::nth]` to create a new list that contains every nth element of the given list.\n\n",
"codeBlocks": {
"code": "def every_nth(lst, nth):\n return lst[1::nth]",
"code": "def every_nth(lst, nth):\n return lst[nth-1::nth]",
"example": "every_nth([1, 2, 3, 4, 5, 6], 2) # [ 2, 4, 6 ]"
},
"tags": [
@ -467,7 +467,7 @@
]
},
"meta": {
"hash": "d5c51547b66fcd9d42def2a6d92ba98429a12c6bec56a0dca8e4c0289525d5de"
"hash": "038e0fd0752bbd88c73ea9059e10768bbf31fd3178113738064405e010aa8aa7"
}
},
{