2 odpowiedzi
+ 3
Variable size refer to how much memory its necessary to hold it. In languages that hold native format size, the size depends from compiler/OS. Python dont store type like native one, it wrap they for make they more manageable for itself... You can know size with sys.getsizeof but remember that on different platforms/interpreters can return different values then dont make assumption about it
+ 1
variables does't have any size there sizes depends on their data types