You could use string formatting to output all pin numbers as 4 character strings.<br><br><a href="http://docs.python.org/lib/typesseq-strings.html">http://docs.python.org/lib/typesseq-strings.html</a><br><br><div><span class="gmail_quote">
On 07/09/2007, <b class="gmail_sendername">matte</b> &lt;<a href="mailto:mailinglistmatt@gmail.com">mailinglistmatt@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Perfect...<br><br>Thanks very much for your help...<br><br><div><span class="q"><span class="gmail_quote">On 9/7/07, <b class="gmail_sendername">Michael Connors</b> &lt;<a href="mailto:connorsml@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
connorsml@gmail.com</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I think it will work if you cast your input to an int:<br>howmany = int(raw_input( &quot;How many: &quot; ))
</blockquote></span><div>&nbsp;<br>Now I just need to figure out how to only get 4 digit pin numbers :)<br><br></div></div>-m<br>
</blockquote></div><br><br clear="all"><br>-- <br>Michael Connors<br>