how does python know the size/length of a list in its default implementation? does it store a length variable of type int of size 64 bits, before init'ing the array itself?
also how much extra space in allocated per the length of the initilaized list? 2*len(lst) is pre-allocated? in order to make amortized time complexity O(1) for the append method