# find out of the memory of the python object import sys List_01 = [[1, 2, 3, 4,20,30,40], [5, 6, 7,99,97,98], [81, 9, 100]] sys.getsizeof(List_01) my_var = 'Python Rocks' sys.getsizeof(my_var) Output: 96 64