Notes

List comprehension

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

Python List Comprehension Examples Explained
Coding tips

Python List Comprehension Examples Explained

Python list comprehension examples I actually use: basic syntax, filtering with if, if/else, nested loops, dict and set comprehensions, and common mistakes.

October 2, 2026 · 10 min read · 184 views

0%