Skip to content

Instantly share code, notes, and snippets.

@acrymble
Created June 30, 2011 12:47
Show Gist options
  • Save acrymble/1056160 to your computer and use it in GitHub Desktop.
Save acrymble/1056160 to your computer and use it in GitHub Desktop.
Python Slice variables
startLoc = 2
endLoc = 8
message9b = message9[startLoc: endLoc]
print message9b
-> llo Wo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment