Python 1-liner with abs
About 30ms \n\nclass Solution(object):\n    def flipAndInvertImage(self, A):\n        return [[abs(y-1) for y in x][::-1] for x in A]\n
About 30ms \n```\nclass Solution(object):\n    def flipAndInvertImage(self, A):\n        return [[abs(y-1) for y in x][::-1] for x in A]\n```
['Python', 'Python3']