Whats the issue in the code

whats wrong with my print function?

Hey @yatin,

  1. There is a syntax in your code.
    A semicolon is missing after T.AddWord(a)

  2. The search function is incomplete as you are just checking for the prefix.
    You have to print all the strings that can be obtained using that prefix

Suggestion:
Watch the video: Digital Dictionary Hint

Hope, this would help.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.