pan> <span class="s1">&#39;</span><span class="se">\n</span><span class="s1">&#39;</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">formatted_str</span><span class="p">)</span>

    <span class="k">if</span> <span class="n">return_str</span><span class="p">:</span>
        <span class="k">return</span> <span class="n">count_list</span><span class="p">,</span> <span class="n">formatted_str</span>
    <span class="k">else</span><span class="p">:</span>
        <