3 Answers
+ 2
OO7 Manish kumar .M Read this documentation of python you will get answer clearly.
https://docs.python.org/3/library/sys.html#sys.getsizeof
+ 2
OO7 Manish kumar .M ,
In first line of the code...,
The value 7 is assigned to ...V
getsizeof() is the function used to get the memory size in bytes of appropriate thing you mentioning...as here V...
So,
Memory size is 28
Value is 7...
So it's the difference...
0
But why 28 only means how.it is assigned