Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created May 28, 2021
Embed
What would you like to do?
def sequential_search(list_, n):
found = False
for i in list_:
if i == n:
found = True
break
return found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment