TOP SECRET
Need a hint?
Cheat sheet
d = {"byte": "Omar"}a dictionary: key → value
d = {}an empty dictionary
d["byte"]look up a key, gives "Omar"
d["nyx"] = "Sam"add a new key, or change an old one
del d["viper"]remove a key
"nyx" in dTrue if the key is there. Check before you look up!
KeyErroryou looked up a key that is not there
for key in d:walk through every key
d[key]…and get its value
len(d)how many keys
d[k] = d[k] + 1count up
x = ""empty text, add to it with +
a or bTrue if at least one is true
not inTrue if it is missing
input("Name? ")ask in the terminal, gives text
agent@hq: ~/database
booting python…
> access granted
Cracked it!
Ready. Press Run.