skip to content →
ts-quiz
— ~/loading.ts
tsc --watch
● loading…
TS
home.ts
TS
levels.ts
MD
learn.md
TS
playground.ts
NEW
// tsc --watch · type-checking modules…
await
load
(
"loading.ts"
)
// streaming server components
◇ tsc 6.0.3 · compiling…
UTF-8
◇ loading…
ts-quiz
—
python-async/07.py
● 0 errors
TS
PY
EN ▾
ide
current
PY
home.py
PY
quiz.py
●
MD
learn.md
PY
playground.py
PY
challenges.py
python-async
·
7
/25
☆ bookmark
[exit]
async
def
f
():
return
7
async
def
main
():
print
(f())
asyncio.run(main())
What is the bug?
A
Missing await — prints a coroutine object
B
Missing asyncio.run
C
f must be sync
D
main is not awaited
▾ reveal answer
← prev
✓ python 3.12 (pyodide)
UTF-8