[Tutor] list

Andreas Kostyrka andreas at kostyrka.org
Sat Mar 22 01:29:01 CET 2008


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 --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://mail.python.org/pipermail/tutor/attachments/20080322/b658df4a/attachment.pgp 


More information about the Tutor mailing list