Sets, Lists, Dictionaries and Tuples in Pythonby@smpnjn

Sets, Lists, Dictionaries and Tuples in Python

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Python has four types of data collection in python: Lists, Tuples, Sets and Dictionaries. Each of these data has a useful purpose in Python - and using them properly is key to mastering Python. When to use which, and why we have four, can be confusing. In this guide, I'll go through what each of the types is, and how to use them. I have written in-depth guides on each here which go into much more detail on how to define and use each data structure.

Company Mentioned

Mention Thumbnail
featured image - Sets, Lists, Dictionaries and Tuples in Python
Johnny Simpson HackerNoon profile picture

@smpnjn

Johnny Simpson


Receive Stories from @smpnjn

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!