Skip to content

Instantly share code, notes, and snippets.

@acrymble
Created June 30, 2011 12:43
Show Gist options
  • Save acrymble/1056147 to your computer and use it in GitHub Desktop.
Save acrymble/1056147 to your computer and use it in GitHub Desktop.
Python Find
message5 = "hello world"
message5a = message5.find("worl")
print message5a
-> 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment