title: How to generate numbers in range with specific average with Python?
body: <p>For example I would like to generate 22 numbers between 20 and 46 with an average value of 27. And I would like the numbers to cover the range as well as possible.</p>
  
  <p>EDIT:
  These numbers don't need to be random.</p>