Arrays
array.array is a typed compact list (like 'i' for ints). Most freshers should use list. array is for memory when you have many numbers of one type.
Interview — list is general; array.array is typed. NumPy array is the data-science version — different library.
Arrays — output — 20 3. array('i') is typed ints. Daily work still uses list.
Exam tip
When list vs array.array vs NumPy.