text_plain_output_1.png
from array import array

from collections import deque

from sys import getsizeof

ELEMENTS_LIMIT = 2 ** 8 - 1
def fill_and_print_details(x):
    for i in range(ELEMENTS_LIMIT):
        x.append(i)

usual_list = []
array_list = array('B')
deque_list = deque()
fill_and_print_details(usual_list)
fill_and_print_details(array_list)
fill_and_print_details(deque_list)