Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dabeaz-course/python-mastery
/ countup
Function
countup
Solutions/8_5/multitask.py:21–26 ·
view source on GitHub ↗
(n)
Source
from the content-addressed store, hash-verified
19
n -= 1
20
21
def
countup(n):
22
x = 0
23
while
x < n:
24
print(
'Up we go'
, x)
25
yield
26
x += 1
27
28
if
__name__ ==
'__main__'
:
29
tasks.append(countdown(10))
Callers
1
multitask.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected