python how much memory does a variable need

from sys import getsizeof
a = 42
getsizeof(a) # size of object in bytes

Here is what the above code is Doing:
1. It’s creating an integer object with the value 42.
2. It’s asking Python to tell us how much memory that object is using.
3. Python tells us that the object is using 28 bytes.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.

The output of getsizeof() is the number of bytes that object is using.