List comprehension in Python is a way to create lists using a compact and concise syntax. It’s like a shortcut for making lists by applying an operation to each item in another list or sequence. Instead of writing a loop, you can use a single line of code to generate a new list.
- The Python Nerd -
Post#159: Medium, The Python Nerd, Mastering Python's List Comprehension, 2025.
Post #74: YouTube, Indently, The new features of Python, version 3.12, 2023.
Mein momentaner Programmierkurs ...
Post #149: SoloLearn, Learn To Code, Tutorial: Grundlagen der Programmierung (Python, HTML & CSS, SQL), 2024.
I have been learning programming with SoloLearn every day for 1 year or 365 days now: Python, C#, HTML, CSS and JavaScript. For me, SoloLearn is one of the best providers for learning coding on the go using a tablet or smartphone.
Post #117: SoloLearn, My 365 Days Streak, 2024.
Post #10: SwissEduc - Informatik, Materialien für den Informatik-Unterricht, 2023.
The source code of my exercise ...
The output of my source code ...
Post #29: YouTube, Programmieren-Starten, #8 Der Zuweisungsoperator und die kombinierten Zuweisungsoperatoren, 2023.
Der Sprung von der Fläche zur Ebene ist auch für Laien nachvollziehbar. Aber Mathematiker*innen wagen sich gerne weiter vor: Alicia Boole widmete ihr Leben der Suche nach regelmäßigen Körpern in der 4. Dimension - und sie wurde fündig, obwohl ihr als Frau zeitlebens eine universitäre Ausbildung verwehrt blieb. Auf ins Land der Polytope!
Post #116: YouTube, Arte, Mathewelten, Die vierte Dimension, 2024.
Post #126: Real Python, Variables in Python, 2024.
Post #178: ComputerWorld, Poojitha Jayadevan, The most in-demand programming languages in India, 2024.
Post #95: Sololearn, The best way to learn to code, 2023.
Post #18: SoloLearn, Android-App for learning programming and script languages, 2023.