Files
Arik Chakma 274082fd77 feat: clean roadmap content and sync scripts (#10181)
* refactor: clean to roadmap content

* refactor: move shared helpers into scripts/lib
2026-07-28 05:45:17 +06:00

9 lines
776 B
Markdown

# Conditionals
Conditionals execute different code paths based on whether a condition is true. Python uses `if`, `elif`, and `else` for this. Python 3.10 introduced `match/case`, a structural pattern matching statement that cleanly handles multiple specific value checks as an alternative to long `elif` chains. They appear in custom functions applied to DataFrames, in filtering logic, and in branching pipeline code.
Visit the following resources to learn more:
- [@article@Conditional Statements in Python](https://realpython.com/python-conditional-statements/)
- [@article@Python Switch Statement 101: Match-case and alternatives](https://roadmap.sh/python/switch)
- [@video@Control Flow in Python - If Elif Else Statements](https://www.youtube.com/watch?v=Zp5MuPOtsSY)