Digital Dictionary
Dont know which cases are failing,
DIgitital dictionary
Hello @coolio.boy385,
Try to correct this:
5
pett
pet
peter
rat
rack
8
pe
pet
r
rac
rat
hell
hello
h
Expected Output:
pet
pett
peter
pet
pett
peter
rack
rat
rack
rat
No suggestions
No suggestions
hell
hello
Your Output:
peter
pett
peter
pett
rack
rat
rack
rat
No suggestions
No suggestions
hell
hello
If you still get your mistake, let me know.
I’ll correct it.
should’nt peter should be before pett
It should be:
Expected Output:
pet
peter
pett
pet
peter
pett
rack
rat
rack
rat
No suggestions
No suggestions
hell
hello
yeah, I am getting the same answer
Hello @coolio.boy385,
I have modified your code, now it is working properly.
Give a like if you are satisfied.