><span class="o">.</span><span class="n">readlines</span><span class="p">()</span>

        <span class="c1"># Write a new list with the correct line modified</span>
        <span class="n">new_lines</span> <span class="o">=</span> <span class="p">[]</span>
        <span class="k">for</span> <span class="n">line</span> <span class="ow">in</span> <span class="n">original_lines</span><span class="p">:</span>                
            <span class="c1"># For each line in the original file, append to new_lines