Python3 straightforward solution - Ambiguous Coordinates
\nclass Solution:\n    def ambiguousCoordinates(self, S: str) -> List[str]:\n        S = S[1:-1]\n        def numbers(s):\n            ans = []\n            for
```\nclass Solution:\n    def ambiguousCoordinates(self, S: str) -> List[str]:\n        S = S[1:-1]\n        def numbers(s):\n            ans = []\n            for i in range(1, len(s)+1):\n                ns = s[:i]\n                if s[i:]:\n                    ns += "." + s[i:]\n                if len(ns) > 1 and (\n                    ns[0] == \'0\' and ns[-1] == \'0\' or\n                    ns[0] == \'0\' and ns[1] != \'.\' or\n                    ns[-1] == \'0\' and \'.\' in ns):\n                    continue\n                ans.append(ns)    \n            return ans        \n        return [\'(\' + p[0] + \', \' + p[1] + \')\'\n               for i in range(1, len(S))\n               for p in itertools.product(numbers(S[:i]), numbers(S[i:]))]\n```
['Python', 'Python3']