Driver code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT arr = [ " ab " , " aab " , " abaaaa " , " bbd " ] NEW_LINE S , l = " ab " , [ ] NEW_LINE print ( countStrings ( S , arr ) ) NEW_LINE DEDENT