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-basic/20.py
● 0 errors
TS
PY
EN ▾
ide
current
PY
home.py
PY
quiz.py
●
MD
learn.md
PY
playground.py
PY
challenges.py
python-basic
·
20
/25
☆ bookmark
[exit]
def
total
(
*
args,
**
kwargs):
return
sum
(args)
+
sum
(kwargs.values())
print
(total(
1
,
2
,
x
=
3
,
y
=
4
))
What does this code print?
A
3
B
7
C
10
D
TypeError
▾ reveal answer
← prev
✓ python 3.12 (pyodide)
UTF-8