Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT s = " abcd " NEW_LINE special = [ ' b ' , ' c ' ] NEW_LINE ans = countRatio ( s , special ) NEW_LINE print ( ' % .6f ' % ans ) NEW_LINE DEDENT