def slow_index(seq, k):
        'Location of match or -1 if not found'
        for i, item in enumerate(seq):
            if item == k:
                return i
        return -1
Location of match or -1 if not found
recipes/Python/577197_SortedCollection/recipe-577197.py