Prejsť na hlavný obsah
← KurzyAI Engineering with PythonModule 0 · Before you startPredpoklady — čo by ste mali vedieť pred touto skladboupredict1 / 105
+25 XP
Úloha🌐 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.
Predpovedz výstup

Prečítaj kód pozorne

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

Čo program vypíše? Napíš sem:

💬 Diskusia

Buď prvý — polož otázku alebo sa podeľ o tip.
Prihlás sa aby si sa zapojil do diskusie. Čítanie je zadarmo.
Načítava sa diskusia…