Created
June 1, 2014 03:37
-
-
Save amckinley/d0d5d67cfffc413c9f99 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def search_list(ls, target): | |
found_target = False | |
for i in range(0, len(ls)): | |
if ls[i] == target: | |
found_target = True | |
return found_target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment