- 3
Array and List which one is better to use in python?
Suggest me...
2 Answers
+ 2
It entirely depends on what type data your container contains.
Lists can have any data type.
Arrays can only contain int, floats (and their variants) and chars.
0
Array can only contains one type of datatypes at a time but list can have multiple.