---
title: "Comment by Hồng Võ Thanh on \"12 Python Tips & Tricks You must know\" | Hashnode"
description: "import sys number = 100 print(sys.getsizeof(number)) #output: 28"
url: "https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/610359729036db5b3513b5a8"
---

[Discussion](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e)

Comment [12 Python Tips & Tricks You must know](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e)

[Hồng Võ Thanh](https://hashnode.com/@teocoi272)

[Jul 30, 2021](https://hashnode.com/posts/12-python-tips-and-tricks-you-must-know/60fd2a7118fbbb77c946740e/comment/610359729036db5b3513b5a8)

import sys number = 100

print(sys.getsizeof(number))

#output: 28
