>>> s="Tartu" >>> print s Tartu >>> print s[0] T >>> print s[0:2] Ta >>> print s[-1] u >>> print s[-3:] rtu >>>