title: Can someone explain the process of this loop? what does it do?
body: <p>I'm trying to strip MRI images but I can't understand this part of the code. Specifically:</p>
  
  <pre><code>for i in range(nii_images.shape[2]):
      data = nii_images[:,:,i]
      print(i)
  </code></pre>
  
  <p>an MRI image stripped.</p>