t one simple method. This makes the overhead of w whole class unnecessary.</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">from_weekday_to_string</span><span class="p">(</span><span class="n">weekday</span><span class="p">):</span>
    <span class="n">nameds_weekdays</span> <span class="o">=</span> <span class="p">{</span>
        <span class="mi">0</span><span class="p">:</span> <span class="s1">&#39;Monday&#39;</span><span 