OverIQ.com
Run (or Hit F9)
s = "markdown" print(s[0:3]) # get a slice of string starting from index 0 to 3, # not including the character at index 3 print(s[2:5]) # get a slice of string starting from index 2 to 5, # not including the character at index 5