title: Set rows in Python 2D array to another row without Numpy?
body: <p>I want to &quot;set&quot; the values of a row of a Python nested list to another row without using NumPy.</p>
  <p>I have a sample list:</p>
  <pre><code>lst = [[0, 0, 1],
         [0, 2, 3],
         [5, 2, 3]]
  </code></pre>
  <p>I want to make row 1 to row 2, row 2 to row 3, and row 3 to row 1. My desired output is:</p>
  <pre><code>lst = [[0, 2, 3],
         [5, 2, 3],
         [0, 0, 1]]
  </code></pre>
  <p>How can I do this <strong>without</strong> using Numpy?</p>
  <p>I tried to do something like <code>arr[[0, 1]] = arr[[1, 0]]</code> but it gives the error <code>'NoneType' object is not subscriptable</code>.</p>