Skip to content

Commit a812c56

Browse files
authored
Update Day_10.md
1 parent 9697e3a commit a812c56

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Status/Day_10.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,15 @@ def printList():
223223

224224
printList()
225225
```
226+
---
227+
```python
228+
'''Solution by: popomaticbubble
229+
'''
230+
def squares(n):
231+
squares_list = [i**2 for i in range(1,n+1)]
232+
print(squares_list[-5:])
233+
squares(20)
234+
```
226235

227236
---
228237

0 commit comments

Comments
 (0)