We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd225b5 commit 9ea4cb5Copy full SHA for 9ea4cb5
Status/Day 5.md
@@ -57,6 +57,16 @@ seq = [str(i) for i in seq] # All the integers are converted to string to be a
57
print(",".join(seq))
58
```
59
60
+
61
+```python
62
+'''Solution by: Jack'''
63
+seq = input().split(',')
64
+lst = [int(i) for i in seq]
65
+def flt(i): #Define a filter function
66
+ return i % 2 != 0
67
+result_l = [str(i * i) for i in filter(flt,lst)]
68
+print(",".join(result_l))
69
+```
70
---
71
72
**_There were a mistake in the the test case and the solution's whice were notified and fixed with the help of @dwedigital. My warm thanks to him._**
0 commit comments