OverIQ.com
Run (or Hit F9)
s = "markdown" print(s[-1]) # get the last character print(s[-2]) # get the second last character print(s[-8]) # get the first character print(s[-len(s)]) # get the first character