text = "This is the string with the word 'the' in it."
for i in range(len(text) - 1):
if text[i:i+2] == "th":
print("th")
dGV4dCA9ICJUaGlzIGlzIHRoZSBzdHJpbmcgd2l0aCB0aGUgd29yZCAndGhlJyBpbiBpdC4iCgpmb3IgaSBpbiByYW5nZShsZW4odGV4dCkgLSAxKToKICBpZiB0ZXh0W2k6aSsyXSA9PSAidGgiOgogICAgcHJpbnQoInRoIikg