0
List x array
Is the list in python, the same than arrays or vectors in java?
5 Réponses
+ 1
The list is implemented as a dynamic and heterogeneous array.
0
okay, thanks... cuz for me, it seems pretty much similar with vectors in Java
0
welcome. I don't know about vectors (yet) though.
0
the thing with vectors is... you can store different type of data into the vector... even objects
0
Well, that won't help you : you always store objects in Python's lists (everything is an object, literally). So integer, string, lists, sets, functions... You can store all theses sorts of things in a list.