+ 2
What is deference between list and array????
3 Réponses
+ 1
nothing, it's just the naming that makes the difference
+ 1
and what about array????why in python tutorials there isnt any explanation about "array"?????
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 :^)