Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT Str = " IDID " NEW_LINE N = len ( Str ) NEW_LINE ptr = DiStirngMatch ( Str ) NEW_LINE for i in range ( N + 1 ) : NEW_LINE INDENT print ( ptr [ i ] , end = " ▁ " ) NEW_LINE DEDENT DEDENT