Skip to content

Commit 009e88c

Browse files
authored
Update Day_10.md
1 parent 094ee9a commit 009e88c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Status/Day_10.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,16 @@ printTupple()
247247
```
248248

249249
-----------------
250+
```python
251+
'''
252+
Solution by: Seawolf159
253+
'''
254+
def square_of_numbers():
255+
return tuple(i ** 2 for i in range(1, 21))
256+
257+
print(square_of_numbers())
258+
```
259+
-------------------
250260

251261
### Comment
252262
***Problems of this section is very much easy and all of those are of a modification of same type problem which mainly focused on using some commonly used function works with list,dictionary, tupple.In my entire solutions, I havn't tried to solve problems in efficient way.Rather I tried to solve in a different way that I can.This will help a beginner to know how simplest problems can be solved in different ways.***

0 commit comments

Comments
 (0)