Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

An empty Python list does not have any elements or indices. So, if we try to add elements to it using the append() method, it will create a new index at position 0 for the first element added to the list. Subsequent elements will also be added to new and sequential positions. Therefore, adding elements to an empty list is successful and functions correctly, as long as you know how to access the elements by their index positions.