Last active
November 16, 2019 10:16
-
-
Save ishashankkumar/e5067b9175111a72c375f2ca4a41ef58 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
>>> a, b = None, '' #Empty | |
>>> a.__sizeof__(), b.__sizeof__() | |
(16, 37) | |
>>> a, b = 1, 1.5 # Integer, Float | |
>>> a.__sizeof__(), b.__sizeof__() | |
(24, 24) | |
>>> a, b = 2**63, 7561348975613048756103487563847561934857613048756139485712345678907 | |
>>> a.__sizeof__(), b.__sizeof__() | |
(36, 56) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment