Why are Python Lists called dynamic arrays ?
Question :
Why are Python Lists called dynamic arrays ?
Lists are dynamic arrays. They are arrays in the sense that we can index items in a list (for example, mylist[3]), and we can select subranges (for example, mylist[2:4]).
They are dynamic in the sense that we can add and remove items after the list is created.