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-medium/25.py
● 0 errors
TS
PY
PL ▾
ide
current
PY
home.py
PY
quiz.py
●
MD
learn.md
PY
playground.py
PY
challenges.py
python-medium
·
25
/25
☆ zapisz
[wyjdź]
from
collections
import
deque
d
=
deque([
1
,
2
,
3
])
d.appendleft(
0
)
d.append(
4
)
print
(
list
(d))
Co to wypisze?
A
[0, 1, 2, 3, 4]
B
[1, 2, 3, 0, 4]
C
[4, 0, 1, 2, 3]
D
[0, 4, 1, 2, 3]
▾ pokaż odpowiedź
← poprz.
✓ python 3.12 (pyodide)
UTF-8