Driver code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT string = [ " geeksforgeeks " , " algorithms " , " stack " ] NEW_LINE s = " algorithms " NEW_LINE n = len ( string ) NEW_LINE score = strScore ( string , s , n ) ; NEW_LINE print ( score ) NEW_LINE DEDENT