Digital dictionary question

here’s my code , https://ide.codingblocks.com/s/342201
, idk why i am getting a wrong answer.

@harshit.t2409
Will get back to you ASAP.

@harshit.t2409
There was one error in your code. When you were printing No suggestions, at that point you have to add that prefix to the dictionary. Just perform an insert step and the code will work just fine.

If my explanation was able to resolve your doubt, please mark the doubt as resolved.