has_duplicates function
Exercise to implement a function telling if the given iterable has duplicate values in it.
>>> assert not has_duplicates("abc")
>>> assert has_duplicates("aaa")
>>> assert not has_duplicates(range(10))
Exercise to implement a function telling if the given iterable has duplicate values in it.
>>> assert not has_duplicates("abc")
>>> assert has_duplicates("aaa")
>>> assert not has_duplicates(range(10))