Function to return the count of sub - strings of str that are divisible by k
def countSubStr ( str , l , k ) : NEW_LINE INDENT count = 0 NEW_LINE for i in range ( l ) : NEW_LINE INDENT n = 0 NEW_LINE DEDENT DEDENT