Skip to content

Instantly share code, notes, and snippets.

@pranjalAI
Created September 7, 2022 18:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pranjalAI/ed0d6a0ce5ccd9bc3a3bab0f7903ee10 to your computer and use it in GitHub Desktop.
Save pranjalAI/ed0d6a0ce5ccd9bc3a3bab0f7903ee10 to your computer and use it in GitHub Desktop.
import sys
mylst = ['India', 'Paris', 'London', 'Italy', 'Rome']
print("size of list = ",sys.getsizeof(mylst))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment