Driver code
if __name__ == ' _ _ main _ _ ' : NEW_LINE INDENT strr = " ( skeeg ( for ) skeeg ) " NEW_LINE lenn = len ( strr ) NEW_LINE st = [ i for i in strr ] NEW_LINE print ( reverseParentheses ( strr , lenn ) ) NEW_LINE DEDENT