Travis build: 364

This commit is contained in:
30secondsofcode
2020-02-10 17:33:32 +00:00
parent bd016720b1
commit 25226dd498
2 changed files with 7 additions and 7 deletions

View File

@ -908,7 +908,7 @@
"type": "snippet",
"attributes": {
"fileName": "has_duplicates.md",
"text": "Returns `True` if there are duplicate values in a flast list, `False` otherwise.\n\nUse `set()` on the given list to remove duplicates, compare its length with the length of the list.\n\n",
"text": "Returns `True` if there are duplicate values in a flat list, `False` otherwise.\n\nUse `set()` on the given list to remove duplicates, compare its length with the length of the list.\n\n",
"codeBlocks": {
"code": "def has_duplicates(lst):\n return len(lst) != len(set(lst))",
"example": "x = [1, 2, 3, 4, 5, 5]\ny = [1, 2, 3, 4, 5]\nhas_duplicates(x) # True\nhas_duplicates(y) # False"
@ -919,11 +919,11 @@
]
},
"meta": {
"hash": "498b0cc49b4a1ad7f98addb9c7bbc84320d91a5558eaf681352086c5ad6edb44",
"hash": "fb22c3f566fea0468c7331478cb216890de4af6b86b24f1ac41656bae949d99c",
"firstSeen": "1522569789",
"lastUpdated": "1578048759",
"updateCount": 7,
"authorCount": 3
"lastUpdated": "1581355826",
"updateCount": 8,
"authorCount": 4
}
},
{