Nerd For Tech
Published in

Nerd For Tech

Quickie Dev #2: Lists, sets, dicts, tuples… in Python

Because choosing the right data structure can save your program!

When you want to store a pack of data in Python, you can pick one of several built-in iterable types (in the docs, they’re classified in “sequence”, “set” and “mapping” types). Most of us know of the lists and the dicts, but there are some others that can prove very efficient in specific situations.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Mina Pêcheux

Mina Pêcheux

I’m a freelance full-stack web & game developer. I’m passionate about topics like CGI, music, data science and more! Find me at: https://minapecheux.com :)