pystr = 'Python' iscool = 'is cool!' print pystr[0] print pystr[2:5] print iscool[:2] print iscool[3:] print iscool[-1]