
<span class="sd">        Generate a random array of length n whose values average to m</span>

<span class="sd">        Parameters:</span>
<span class="sd">        nums: int - number of values</span>
<span class="sd">        avg: int - average value</span>
<span class="sd">        maxItems: int - maximum value</span>

<span class="sd">        Returns:</span>
<span class="sd">        values: list - random array</span>
<span class="sd">        &quot;&quot;&quot;</span>

        <span class="c1"># generate n 