summaryrefslogtreecommitdiff
path: root/progs/a382.py
diff options
context:
space:
mode:
Diffstat (limited to 'progs/a382.py')
-rw-r--r--progs/a382.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/progs/a382.py b/progs/a382.py
new file mode 100644
index 0000000..f67bc9c
--- /dev/null
+++ b/progs/a382.py
@@ -0,0 +1,3 @@
+def test_duplicate(arraynums):
+ nums_set = set(arraynums)
+ return len(arraynums) != len(nums_set) \ No newline at end of file