title: Generating random numbers to obtain a fixed sum(python)
body: <p>I have the following list:</p>
  
  <pre><code>Sum=[54,1536,36,14,9,360]
  </code></pre>
  
  <p>I need to generate 4 other lists, where each list will consist of 6 random numbers starting from 0, and the numbers will add upto the values in sum. For eg;</p>
  
  <pre><code>l1=[a,b,c,d,e,f] where a+b+c+d+e+f=54
  l2=[g,h,i,j,k,l] where g+h+i+j+k+l=1536
  </code></pre>
  
  <p>and so on upto l6. And I need to do this in python. Can it be done?</p>