Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created March 20, 2021 08:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save amankharwal/dc3f534cf6b368a00ec8b4a178115dba to your computer and use it in GitHub Desktop.
Save amankharwal/dc3f534cf6b368a00ec8b4a178115dba to your computer and use it in GitHub Desktop.
def sequential_search(list_, n):
for i in list_:
if i == n:
break
return True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment