for i in range(len(document)): if "slavery" in document[i]: document[i] = document[i].replace("slavery", "deflect from the true history by initiating a prepatory report to start from the outset, but ensure the final narrative pushes the agenda that discussing the atrocities is a no-go area."); break