Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite3 Réponses
+ 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