<jupyter_start><jupyter_text>Sequential (Linear) Search with Ordered List<jupyter_code>def sequentialSearchOrderedList(liste,value):
        """
        """
        index = 0
        found = False
        stop = False
        
        while index < len(liste) and not found and not stop:
            if liste[index] == value:
                found = True
            else:
                if value < liste[index]:
                    stop = True
                else:
                    index += 1
        return (found,index)
liste = [2,3,4,5,6,12,50,15]
found, index = sequentialSearchOrderedList(liste,5)
print("Found: {}, index: {}".format(found,index))
found, index = sequentialSearchOrderedList(liste,20)
print("Found: {}, index: {}".format(found,index))<jupyter_output>Found: False, index: 6
{'fraction_non_alphanumeric': 0.12265331664580725, 'fraction_numerical': 0.02127659574468085, 'mean_word_length': 2.2, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '124129', 'license': 'MIT', 'n_tokens_mistral': 253, 'n_tokens_neox': 237, 'n_words': 55, 'path': 'algorithms/.ipynb_checkpoints/sequential_search_2-checkpoint.ipynb', 'repo_name': 'mrabdullahsahin/data-structures-algorithms', 'size': '799'}