combination of number using specific value limit as sum of combinations
<p>Are there any tools in python to generate these combinations:</p>

<pre><code>a=200
b=100

limit=500
</code></pre>

<p>combinations are:</p>

<pre><code>200,200,100  sum(200+200+100)&lt;=500
200,100,100,100 sum(200,100,100,100)&lt;=500  
</code></pre>
