Hello,
I do not understand why the assert is failing and why it return completely other words :
EXTRA/1
Your result:{"one":1,"two":1,"three":0,"it's":1,"ran":1,"i":0}
Right result:{"it's":1,"ran":1,"i":2}
Fail:popular_words("It's flying from somewhere\nAs fast as it can\nI couldn't keep up with it\nNot if I ran",["it's","ran","i"])
The same code "attached" is return the correct answer in my IDE but a different result on the website.
Any ideas ?
Regards
DaB
Created at: 2022/05/06 09:38; Updated at: 2022/05/06 11:51
The question is resolved.