Python Snacks logo
Python Snacks
AdvertiseContact
Subscribe
  • Python Snacks
  • Topics
  • data structures

data structures

Lists, dicts, sets, tuples, mutability, performance.

best-practicescomparisongeneratorscareertype hintspythonic thinkingbeginnerdecoratorsreferencedocumentationmetaprogrammingdata analysisfunctionscheat sheetdata structuresartificial intelligencetool-reviewadvancedwebsecurityOne-Offssnippettoolingworkflowstandard librarybreakdownpackagechecklisttemplateintermediateclicase-studyquick winpackagingasynccontrol flowgotchasoopdeep diveperformance
comparisoncomparison
+3+3
The differences between Mutable and Immutable data types in Python
Feb 12, 2025

The differences between Mutable and Immutable data types in Python

A beginner-friendly guide to why some variables change behind your back (and others don't)

Brandon Molyneaux
Brandon Molyneaux
beginnerbeginner
+2+2
The 3 Step Process on Writing List Comprehensions Easily
Oct 02, 2024

The 3 Step Process on Writing List Comprehensions Easily

See how you can convert Python for loops into list comprehensions in 3 simple steps.

Brandon Molyneaux
Brandon Molyneaux
comparisoncomparison
+2+2
6 ways to flatten Python lists
Jan 03, 2024

6 ways to flatten Python lists

Practical Techniques for Flattening Lists in Python, from Simple Tricks to Advanced Methods

Brandon Molyneaux
Brandon Molyneaux
data structuresdata structures
+2+2
Python Dictionary Comprehension: A Simple Explanation
Nov 15, 2023

Python Dictionary Comprehension: A Simple Explanation

It's just like list comprehension, except with a dictionary!

Brandon Molyneaux
Brandon Molyneaux
Become a better software engineer with Python.

Python Snacks

Become a better software engineer with Python.

Home

Posts

Authors

Account

Upgrade

Advertise

Advertise

© 2025 Python Snacks.

Privacy policy

Terms of use

Powered by beehiiv