    <span class="c1"># If the value is a string</span>
                        <span class="n">value</span> <span class="o">=</span> <span class="n">current_value</span><span class="o">.</span><span class="n">replace</span><span class="p">(</span><span class="s2">&quot;&#39;&quot;</span><span class="p">,</span><span class="s1">&#39;&#39;</span><span class="p">)</span><span class="o">.</span><span class="n">strip</span><span class="p">()</span>
                    
                    <span class="k">else</s