Skip to content

Commit 3ba6d96

Browse files
author
boraxpr
committed
bite 214
1 parent 2ce3eb2 commit 3ba6d96

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

214/countdown.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,8 @@ def countdown():
44
while True:
55
yield num
66
num -= 1
7-
if num < 1:
8-
raise StopIteration
7+
if num == 100 or num == 0:
8+
return
9+
10+
11+

0 commit comments

Comments
 (0)