Přejít k hlavnímu obsahu
← KurzyAI Engineering with PythonModule 0 · Before you startPředpoklady — co byste měli vědět před tímto trackempredict1 / 105
+25 XP
Úkol🌐 shown in RU
Read the snippet below carefully. Predict the exact output (both lines). This exercises the patterns ai-eng-01 opens with: dict access + string slicing on an API-key-shaped value. If you can predict this you're ready; if you can't, take a Foundations refresher first.
Předpověz výstup

Přečti kód pozorně

config = {"api_key": "sk-ant-2026-demo-XYZ"}
key = config.get("api_key", "missing")
print(key[:6])
print(key[-3:])

Co program vypíše? Napiš sem:

💬 Diskuze

Buď první — polož otázku nebo se podělej o tip.
Přihlas se abys se zapojil do diskuze. Čtení je zdarma.
Načítání diskuze…