Understanding Python Data Structures and Functions

ยท

1 min read

There are different types of data structures in Python such as lists, tuples, dictionaries and sets. For now we are going to look at few of these.

Lists are ordered, mutable collections that can store multiple data types.

There are few functions you can do with lists.

Dictionaries store key-value pairs.

The key difference is we can use lists for ordered data and dictionaries for structured data with labels.

ย