Skip to content

Commit 3e83aec

Browse files
author
hajimalung.baba
committed
solution for question 11 is added
1 parent 29953b3 commit 3e83aec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Status/Day 3.md

+6
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,12 @@ data = [num for num in data if int(num, 2) % 5 == 0]
172172
print(','.join(data))
173173
```
174174

175+
```python
176+
'''Solution by: hajimalung baba
177+
'''
178+
print(*(binary for binary in input().split(',') if int(binary,base=2)%5==0))
179+
```
180+
175181
---
176182

177183
# Question 12

0 commit comments

Comments
 (0)