
#24: Fluent Python
Talk Python To Me
00:00
How to Create an Array of Numbers
An array is easy. It was really easy to use. And it's much more efficient in terms of memory and also in terms of execution because the it's a packed data structure where one number is right after the other. An array allocates literally four bytes for instance or whatever in a huge long array, right? Exactly. That's why when you create it, I think that the first stumbling block to create an array is that you have to look up in the documentation. But then when you do that, you're all set.
Play episode from 45:18
Transcript


