Skip to content

Commit 527812a

Browse files
committed
daily
1 parent a4706af commit 527812a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

my-submissions/e1935.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
class Solution:
2+
def canBeTypedWords(self, text: str, brokenLetters: str) -> int:
3+
return sum(all(c not in brokenLetters for c in s) for s in text.split())

0 commit comments

Comments
 (0)