before if(i-words < 0): start_point = 0 else: start_point = i - words after start_point = max(i - words, 0)