HVimport sys number = 100 print(sys.getsizeof(number)) #output: 28Comment·Article·Jul 30, 2021·12 Python Tips & Tricks You must know