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
·
py
—
python-advanced/12.py
● 0 errors
EN ▾
ide
current
PY
home.py
PY
quiz.py
●
MD
learn.md
PY
playground.py
PY
challenges.py
python-advanced
·
12
/25
☆ bookmark
[exit]
import
weakref
class
Node
:
pass
n
=
Node()
r
=
weakref.ref(n)
print
(r()
is
n)
del
n
print
(r())
What is printed?
A
True then None
B
True then <Node object>
C
False then None
D
ReferenceError
▾ reveal answer
← prev
✓ python 3.12 (pyodide)
UTF-8