promptdojo_

Write a function safe_get that takes a dict and a key. If the key exists, return the value. If the key is missing, return the string "missing" instead of crashing with KeyError.

Two calls happen at the bottom — they should print:

alex
missing

this step needs the editor

on desktop today; in the app (coming soon). save your spot and we'll bring you back here when you're ready.

open this same url on a laptop to keep going today.