generate polynomial in python
<p>I am trying to make a function which can print a polynomial of order n of x,y</p>

<p>i.e. <code>poly(x,y,1)</code> will output <code>c[0] + c[1]*x + c[2]*y</code></p>

<p>i.e. <code>poly(x,y,2)</code> will output <code>c[0] + c[1]*x + c[2]*y + c[3]*x**2 + c[4]*y**2 + c[5]*x*y</code></p>

<p>Could you give me some ideas? Maybe itertools?</p>
