Skip to content

Commit 3cb058e

Browse files
authored
Update list-comprehension.md
1 parent 1cc2478 commit 3cb058e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

basics/list-comprehension.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ print(arr)
7070
```
7171
For this example the condition is that only the numbers that is less than 5 would get put into the array.
7272

73-
##Summary
73+
## Summary
7474
- List comprehensions are a good way to shorten code
7575
- They are versatile when it comes to iterating through iterable datasets
7676
- Not only can you filter out data with a condition you can also change the data before it gets added to the new list

0 commit comments

Comments
 (0)