+ 6
is there any difference between list (used in Python) and array.
6 Answers
+ 17
Arrays are fixed in length, lists can continually be added to.
+ 9
the main difference is array doesn't support different datatype in a single array where list can store different datatypes value in a single list
+ 1
array has a fixed length after declaration
+ 1
list has more functionality than array.
0
carry is for calling a variable which it different kind of code between php and python
- 3
I think we are missing the biggest difference. A List is an object, and an array is basically a data type. So Lists have methods like .append .insert(j, k) .reverse