Multiple choiceExercise 2/6Elementary20 XP

Safe lookup

Task

What does this program print?

ceny = {"chlieb": 2, "mlieko": 1}
print(ceny.get("syr", 0))

You need to know

Your answer

Choose one option.

Hints

Try it yourself first. Each hint reveals a little more - and lowers the reward a little.

Signed out, hints are free - but no XP is awarded either.

Solution

The solution unlocks after the last hint.