0

Is a list like an array in other programming languages?

14th Dec 2016, 6:49 AM
Jeff
2 Answers
0
not in everything. you still access elements by index, can sort and loop through, but: 1) array is a collection of vars of the same type, while list can store different types, as many as you want 2) array has fixed length, list can be extended with new elements there may be more differences, I can't remember all)
14th Dec 2016, 7:32 AM
Demeth
Demeth - avatar
0
List are mutable, indexed collection of objects in Python
14th Dec 2016, 7:50 AM
Rishi Anand
Rishi Anand - avatar