...

/

Containers and Python Type Jargon

Containers and Python Type Jargon

Learn about different containers used to store data and different terms used for Python types.

We'll cover the following...

Container types

Container types typically refer to multiple values stored together. Here are some examples of different basic types:

  • A list is an indexed collection of similar/dissimilar entities, e.g., [10, 20, 30, 20, 30, 40, 50, 10], ['She', 'sold', 10, 'shells'].
  • A tuple is an immutable collection, e.g., ('Sanjay', 34, 4500.55), ('Let Us Python', 350, 195.00).
  • A set is a
...