70 % :: Python
\nclass Solution:\n    def putDecimal(self, num):\n        ans = []\n        if not int(num):\n            if len(num) == 1:\n                return [\'0\']\n  
```\nclass Solution:\n    def putDecimal(self, num):\n        ans = []\n        if not int(num):\n            if len(num) == 1:\n                return [\'0\']\n            else:\n                return []\n            \n        if num.startswith(\'0\'):\n            return [\'0.\' + num[1:]] if not num.endswith(\'0\') else []\n        \n        if num.endswith(\'0\'):\n            return [num]\n        \n        for i in range(len(num) - 1):\n            # [0, i + 1), [i + 1, ..)\n            left, right = num[:i + 1], num[i + 1: ]\n            if not int(right):\n                break\n            if not right.endswith(\'0\'):\n                ans.append(left + \'.\' + right)\n            \n        return ans + [num] if not num.startswith(\'0\') else ans\n    \n    def ambiguousCoordinates(self, s: str) -> List[str]:\n        s = s[1: -1]\n        ans = set()\n        for i in range(len(s) - 1):\n            left, right = s[:i + 1], s[i + 1: ]\n            leftDecimals = self.putDecimal(left)\n            rightDecimals = self.putDecimal(right)\n            \n            if leftDecimals and rightDecimals:\n                for leftDecimal in leftDecimals:\n                    for rightDecimal in rightDecimals:\n                        ans.add("(" + leftDecimal + ", " + rightDecimal + ")")\n        return ans\n    # \n```
[]