fix #results in examples, added test file for keys_only

This commit is contained in:
Rob-Rychs
2018-04-15 10:10:41 -07:00
parent 57c3f5f1ab
commit aa31f4cc74
5 changed files with 13 additions and 8 deletions

View File

@ -11,6 +11,7 @@ def has_duplicates(lst):
``` python
x = [1,2,3,4,5,5]
has_duplicates(x) # result
True
y = [1,2,3,4,5]
has_duplicates(x) # True
has_duplicates(y) # False
```