Mutable And Immutable Datatypes In Python

Mutable Datatypes 

Mutable datatypes are those datatypes which we can change at runtime.

Some mutable datatypes are : 

  • List 
  • Dictionary 
  • Sets

Immutable Datatypes

Immutable datatypes are those datatypes which we can't change at runtime. 

Some immutable datatypes are: 

  • Numbers 
  • Strings 
  • Tuples

Post a Comment

0 Comments