Calculate the score of the combined string i . e . the count of occurrences of " ab " as subsequences
final_score = 0 NEW_LINE count_a = 0 NEW_LINE for i in range ( len ( combined_string ) ) : NEW_LINE INDENT if ( combined_string [ i ] == ' a ' ) : NEW_LINE DEDENT