I need help figuring what wrong with my code! ('int' issue) : <p>i am having an issue figuring out why my code is wrong.</p>

<pre><code>def draw_poly(t, n, size):
for s in (n):
t.forward(sz)
t.left(45)

draw_poly (liz, 8, 50)
</code></pre>

<p>I am trying to make a octogon but it keeps on giving me an "'int' object is not iterable" error.</p>

<p>If you could help i would be forever grateful, Thanks.</p>
