Skip to content

Commit d223ead

Browse files
authored
Update Day_16.md
1 parent 6cef3c2 commit d223ead

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Status/Day_16.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,18 @@ for i in EvenGenerator(n):
209209
print ",".join(values)
210210

211211
```
212+
**OR**
213+
```python
214+
# Solution by: StartZer0
215+
n = int(input())
216+
217+
for i in range(0, n+1, 2):
218+
if i < n - 1:
219+
print(i, end = ',' )
220+
else:
221+
print(i)
222+
```
223+
212224
----------------
213225

214226

0 commit comments

Comments
 (0)