[ Python ] | Simple & Clean Solution
Code\n\nclass Solution:\n    def removeOuterParentheses(self, s: str) -> str:\n        ans, cnt = [], 0\n        for ch in s:\n            if ch == \'(\' and cn
# Code\n```\nclass Solution:\n    def removeOuterParentheses(self, s: str) -> str:\n        ans, cnt = [], 0\n        for ch in s:\n            if ch == \'(\' and cnt > 0: ans.append(ch)\n            if ch == \')\' and cnt > 1: ans.append(ch)\n            cnt += 1 if ch == \'(\' else -1\n        return "".join(ans)\n```
['Python3']