-
-
Save tebeka/cbb7d5eb55b907db8333c281b901992f 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
haystack = "Where's Wally?" | |
needle = 'Waldo' | |
if haystack.find(needle): | |
print('Found Waldo') | |
else: | |
print('Waldo not found') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment