Skip to content

Commit b84d6f5

Browse files
authored
Update Day_21.md
1 parent a835856 commit b84d6f5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Status/Day_21.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ li = [12,24,35,70,88,120,155]
2828
li = [li[i] for i in range(len(li)) if i not in (0,4,5)]
2929
print(li)
3030
```
31+
---
3132
```python
33+
'''Solution by: pratikb0501
34+
'''
3235
li = [12, 24, 35, 70, 88, 120, 155]
3336
print(list(j for i, j in enumerate(li) if i != 0 and i != 4 and i != 5))
3437

0 commit comments

Comments
 (0)