We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 347466f commit cacf1f3Copy full SHA for cacf1f3
Checking python
@@ -0,0 +1,5 @@
1
+def check_duplicate(lst):
2
+ return len(lst) != len(set(lst))
3
+check_duplicate([1,2,3,4,5,4,6]) # True
4
+check_duplicate([1,2,3]) # False
5
+check_duplicate([1,2,3,4,9]) # False
0 commit comments