Answer:
Following are the situation given below, when you should use
list instead of array.
- To store a short sequence of item use list otherwise for long
sequence, you should use array. .
- To store different type od data type in the same list (means-
List can be used to store different type of data element like
integer, strings element in the same list).
- To perform a mathematical operation or data science operation
list should not be used.
- List can be used to store duplicate items, which is not unique
so duplication is possible in list.
- To declare list there is no need to import a module, so
declaration is not required to use list in python.
- List are easy to use and performing various operation like
addition, deletion of list item is also easy compare to array.