Write count_keys(d) that returns how many keys the dictionary has.
count_keys({'a': 1, 'b': 2})
→ 2count_keys({})
→ 0Submit runs 4 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.