3 ms·
Python lacks a native array too but its list type seems to do just fine. What is it you want to do that you that requires an array?
by tedmiston 10y ago
Python lacks a native array too but its list type seems to do just fine. What is it you want to do that you that requires an array?
- cutler 10y agoPython's lists are lists in name only when compared with lists in functional languages. Whilst Python may offer additional array/vector implementations its lists are equivalent to arrays or vectors in other languages such as Ruby.
- aprdm 10y agoincorrect. python has array.array which behaves just like in C. You even give the type of the data.