We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 32c5d05 commit 713699aCopy full SHA for 713699a
python3/2942.py
@@ -0,0 +1,7 @@
1
+class Solution:
2
+ def findWordsContaining(self, words: List[str], x: str) -> List[int]:
3
+ res = []
4
+ for i, word in enumerate(words):
5
+ if x in word:
6
+ res.append(i)
7
+ return res
0 commit comments