Skip to content

Commit 95da95a

Browse files
authored
Update Day_12.md
1 parent 9bf1adc commit 95da95a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Status/Day_12.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ print squaredNumbers
1717
----------------
1818
**My Solution: Python 3**
1919
```
20+
def sqr(x):
21+
return x*x
22+
23+
squaredNumbers = list(map(sqr, range(1,21)))
24+
print (squaredNumbers)
2025
```
2126
----------------------------------------
2227

0 commit comments

Comments
 (0)