Python Snacks logo
Python Snacks
AdvertiseContact
Subscribe
  • Python Snacks
  • Topics
  • control flow

control flow

Conditionals, loops, match/case, flow modifiers.

best-practicespythonic thinkingbeginnerfunctionsdata structurestool-reviewadvancedtoolingworkflowbreakdownchecklistintermediatequick wincontrol flow
beginnerbeginner
+2+2
Python's match/case Statements: The Equivalent of Switch Statements
Jun 04, 2025

Python's match/case Statements: The Equivalent of Switch Statements

This feature, used in Python 3.10+, is an alternative to if/elif/else blocks. See how case and match statements are used.

Brandon Molyneaux
Brandon Molyneaux
advancedadvanced
+2+2
Understanding Python’s Walrus Operator (:=) for Efficient Code
Dec 20, 2023

Understanding Python’s Walrus Operator (:=) for Efficient Code

Writing Cleaner, More Efficient Python Code with the Walrus Operator

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