4 odpowiedzi
+ 5
words = [word for word in list if word in dictionary]
Steven I think those are both syntactically wrong 🤔
+ 2
Steven thank you for taking the time and answering in an abstract yet detailed way.
I will see what I can do!
+ 2
Hehe thanks Anna
+ 2
Following up on my own question: I figured out a way that works for me without much hassle, comparing the text as a set using difference ():
https://code.sololearn.com/cQ12Vw72r4ro/?ref=app