Skip to content

Instantly share code, notes, and snippets.

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 pkutaj/d3dd69532db1343b9f14e52a2c08113d to your computer and use it in GitHub Desktop.
Save pkutaj/d3dd69532db1343b9f14e52a2c08113d to your computer and use it in GitHub Desktop.
Mutable VS Immutable Built-In Data Objects in Python
MUTABLE IMMUTABLE
#1 list ~
#2 dict ~
#3 set ~
#4 byte array ~
~ #1 int
~ #2 float
~ #3 complex
~ #4 string
~ #5 tuple
~ #6 frozen set [note: immutable version of set]
~ #7 bytes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment