Python, less condition approach
\nclass Solution:\n    def modifyString(self, s: str) -> str:\n        s = list("0"+s+"0")\n        for i, l in enumerate(s[:-1]):\n            if l == "?":\n  
```\nclass Solution:\n    def modifyString(self, s: str) -> str:\n        s = list("0"+s+"0")\n        for i, l in enumerate(s[:-1]):\n            if l == "?":\n                for c in "abc":\n                    if c != s[i-1] and c != s[i+1]:\n                        s[i] = c\n                        break\n        return "".join(s[1:-1])\n```
['Python']