Hi, Madhu.
First problem: your function takes the wrong number of arguments. It should look like
(fn [k m] ...) ;; "function... given a key and map"
I suggest looking at the functions at
https://clojure.org/api/cheatsheet under Maps / Examine.
Then you can try them out in the REPL and get a feeling of how they work. At that point,
you should be able to solve the problem.
Happy hacking,
Leif