Python 3 Accepted Solution
\nclass Solution:\n    def flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]:\n\n        return [[abs(1-i) for i in row[::-1]] for row in A]\n
```\nclass Solution:\n    def flipAndInvertImage(self, A: List[List[int]]) -> List[List[int]]:\n\n        return [[abs(1-i) for i in row[::-1]] for row in A]\n```
[]