aString = 'abcd'print aString[0]print aString[1:3]print aString[2:4]final_index = -len(aString)print aString[-1]print aString[-3:-1]print aString[-4]