Python 2.7 – Fundamentals – Collections

The main strength of Python lies in its powerful data structures and the operations we can do with complex data. So what exactly are Collections? We examined the primitive data types in the previous post. When you group primitive data objects into a single data object, that data object is called a Collection. As the name suggests, a Collection is a collection of data items.

Just like you have operators which work on primitive data types, you have operators and built-in functions which can manipulate Collections. In the next few posts we will examine the following Collection types:

  1. Strings
  2. Lists
  3. Tuples
  4. Sets
  5. Dictionaries

In the next post we will look at Strings.

1 Trackback / Pingback

  1. Python 2.7 – Fundamentals – Primitive Data Types & Variables – Truelogic Blog

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.