Collections In Python



Collection is just a collection of objects(similar/dis-similar)

Python provides different collection like
  • List
  • Tuple
  • Set
  • Dictionary
  • Str (String)

Each individual collection is a collection of 
  • 'int class' object
  • 'float class' object
  • 'bool class' object
  • 'str class' object
but str is a collection of  'str class' object only.


 List


Tuple


Set


Dictionary


String


My photo
Techno Xpresss
Bangalore, Karnataka, India