Skip to content

Instantly share code, notes, and snippets.

@yedi
Created January 26, 2016 23:49
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 yedi/3ad6150b5b4b151c73af to your computer and use it in GitHub Desktop.
Save yedi/3ad6150b5b4b151c73af to your computer and use it in GitHub Desktop.
strings = ["first", "second", "third"]
ret = False
line = get_line()
for s in strings:
if s in line:
ret = True
break
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment