Run
mystring = 'pythonexamples.org' substring = mystring[-15:-5] #mystring[18-15:18-5] where length of mystring is 18 print(substring)
Output