Skip to content

Commit be02b67

Browse files
authored
Update README.md
1 parent 0b55917 commit be02b67

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Structures/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,13 +120,11 @@ superList = [
120120
- List comprehensions (List and Map merge)
121121

122122
```python
123-
multiplesFourSixNine = [item for item in range(
124-
0, 100)if item % 4 == 0 and item % 6 == 0 and item % 9 == 0]
123+
multiplesFourSixNine = [item for item in range(0, 100)if item % 4 == 0 and item % 6 == 0 and item % 9 == 0]
125124
```
126125

127126
- Dictionary comprehensions
128127

129128
```python
130-
squareMulTwo={item: item**(1/2)
131-
for item in range(0, 10) if item % 2 == 0}
129+
squareMulTwo={item: item**(1/2) for item in range(0, 10) if item % 2 == 0}
132130
```

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy