Merge pull request #479 from Abdoallah-Badr/patch-2

Update 13_list_comprehension.md
This commit is contained in:
Asabeneh 2026-01-11 00:39:35 +02:00 committed by GitHub
commit ad7fa1304f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,7 +34,7 @@ List comprehension in Python is a compact way of creating a list from a sequence
```py
# syntax
[i for i in iterable if expression]
[expression for i in iterable if condition]
```
**Example:1**