What is deference between list and array???? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is deference between list and array????

15th Jan 2017, 6:56 PM
mahdi
3 Answers
+ 1
nothing, it's just the naming that makes the difference
16th Jan 2017, 11:56 AM
Tuchy
Tuchy - avatar
+ 1
and what about array????why in python tutorials there isnt any explanation about "array"?????
16th Jan 2017, 12:02 PM
mahdi
0
For the most part it is a naming difference, they're used interchangeably especially when someone's transitioning from another language like Java to Python. Although, it's a naming difference but there's more to it. An array is immutable and isn't dynamic when it comes to the size. A list in Python is an ArrayList in Java. With some other differences, like mixing different data types :^)
17th Jan 2017, 3:50 AM
Don
Don - avatar