Python 3: Solution for those who only start solving LeetCode problems
...but it still beats 94% of all submissions.\n\nIdea:\nFirst create a list flipped that will contain flipped rows\nThen go through every row and every element 
...but it still beats 94% of all submissions.\n\n**Idea**:\nFirst create a list ```flipped``` that will contain flipped rows\nThen go through every row and every element in ```flipped``` and change ones to zeros and vice versa saving the result in ```invert```.\n\n```\ndef flipAndInvertImage(A):\n    if len(A) == 0: return []\n    flipped = []\n    for row in A:\n        flipped.append(row[::-1])\n    invert = []\n    for row in flipped:\n        curr = []\n        for element in row:\n            if element == 1:\n                curr.append(0)\n            else:\n                curr.append(1)\n        invert.append(curr)\n    return invert\n```
['Python', 'Python3']