Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT s1 = " abb " NEW_LINE s2 = " dad " NEW_LINE x = len ( s1 ) NEW_LINE G = defaultdict ( list ) NEW_LINE print ( countPairs ( s1 , s2 , G ) ) NEW_LINE DEDENT