[Tutor] list

elis aeris hunter92383 at gmail.com
Sat Mar 22 01:29:46 CET 2008


arra = [0] * 10 ?

On Fri, Mar 21, 2008 at 5:29 PM, Andreas Kostyrka <andreas at kostyrka.org>
wrote:

> Empty?
>
> array = []
>
> If you want to assign 10 "None", that would be:
>
> array = [None] * 10
>
> Andreas
>
> Am Freitag, den 21.03.2008, 17:03 -0700 schrieb elis aeris:
> > how do I create an empy int array of 10?
> > _______________________________________________
> > Tutor maillist  -  Tutor at python.org
> > http://mail.python.org/mailman/listinfo/tutor
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20080321/934ea92f/attachment.htm 


More information about the Tutor mailing list