From 4919ccc15ca2a334475528c579435c2c84e2a1c0 Mon Sep 17 00:00:00 2001 From: Aaqibhafeez Khan Date: Sun, 15 Nov 2026 06:42:30 +0530 Subject: [PATCH] docs: add prefixCount docstring (closes #252) --- solutions/python/practice325.py | 1 + 1 file changed, 1 insertion(+) diff --git a/solutions/python/practice325.py b/solutions/python/practice325.py index b58fd2d..f24b54f 100644 --- a/solutions/python/practice325.py +++ b/solutions/python/practice325.py @@ -3,6 +3,7 @@ class Solution: def prefixCount(self, words, pref: str) -> int: + """Return the number of words that start with the given prefix.""" count = 0 for word in words: if word.startswith(pref):