python easy and straight forward approach
\tclass Solution:\n\t\tdef prefixCount(self, words: List[str], pref: str) -> int:\n\t\t\tn = len(pref)\n\t\t\tcount = 0\n\t\t\tfor w in words:\n\t\t\t\tif w[:n]
\tclass Solution:\n\t\tdef prefixCount(self, words: List[str], pref: str) -> int:\n\t\t\tn = len(pref)\n\t\t\tcount = 0\n\t\t\tfor w in words:\n\t\t\t\tif w[:n] == pref:\n\t\t\t\t\tcount += 1\n\n\t\t\treturn count
['String', 'Python']