4 lines
144 B
Python
4 lines
144 B
Python
class Solution:
|
|
def isAcronym(self, words: List[str], s: str) -> bool:
|
|
return True if s == "".join(i[:1] for i in words) else False
|