arrays in python

Rudolf yellowblueyellow at gmail.com
Wed Sep 23 13:14:20 EDT 2009


Can someone tell me how to allocate single and multidimensional arrays
in python. I looked online and it says to do the following x =
['1','2','3','4']

However, I want a much larger array like a 100 elements, so I cant
possibly do that. I want to allocate an array and then populate it
using a for loop. Thanks for your help.



More information about the Python-list mailing list