Driver Code
if __name__ == " _ _ main _ _ " : NEW_LINE INDENT string = " AAAAABB " NEW_LINE print ( " Maximum ▁ weight ▁ of ▁ a ▁ transformation ▁ of " , string , " is " , getMaxWeight ( string ) ) NEW_LINE DEDENT