What is the standard way to simulate an array in Python? It seems that the list structure only works well when there are no gaps--and you just keep appending values.
But suppose you wanted to make a hash table and store the values in an array. Depending on your hash function, you might need to store the first value value at index 1456. Would you just start with a list and append 1456 instances of 'None' and then stick in the value? This seems pretty lame and I am wondering if there is a better workaround.
Thanks in advance!