https://pythontutor.com/visualize.html#code=matrix%20%3D%20%5B%5B%20x%2B1%2By%2B1%20for%20x%20in%20range%285%29%5D%20for%20y%20in%20range%286%29%5D%0Afor%20r%20in%20range%286%29%3A%0A%20%20%20%20for%20c%20in%20range%285%29%3A%0A%20%20%20%20%20%20%20%20matrix%5Br%5D%5Bc%5D%20*%3D%202%0A%0Afor%20r%20in%20matrix%3A%0A%20%20%20%20print%28r%29&cumulative=false&curInstr=0&heapPrimitives=nevernest&mode=display&origin=opt-frontend.js&py=3&rawInputLstJSON=%5B%5D&textReferences=false