List out the differences between array and list.

: 563
Paper : Python FAQ (Frequently Asked Questions and answers) for freshers | Platform : Object-oriented programming Language | Category : Programming FAQs

Array List
The array contains homogenous elements. The list contains heterogeneous elements
Array size can not be expanded. List size can be expanded.
The mathematical functions are applied to the complete array. The mathematical function can not be applied to the complete list whereas it is applicable only to the individual elements.
The array requires to be imported before use.  There is no need to import anything for using the list.