You could use string formatting to output all pin numbers as 4 character strings.
http://docs.python.org/lib/typesseq-strings.html On 07/09/2007, matte <[EMAIL PROTECTED]> wrote: > > Perfect... > > Thanks very much for your help... > > On 9/7/07, Michael Connors <[EMAIL PROTECTED]> wrote: > > > > I think it will work if you cast your input to an int: > > howmany = int(raw_input( "How many: " )) > > > Now I just need to figure out how to only get 4 digit pin numbers :) > > -m > -- Michael Connors
_______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor