how to check the size of a given object python code example
Example: size of variable python
import sys
sys.getsizeof(object[, default])
# returns size of object in bytes
import sys
sys.getsizeof(object[, default])
# returns size of object in bytes