title: Unexpected Indent when defining variable
body: <p>I'm new to Python and it just confounds me with Indentation errors. In the following images, why does the first one work and the second one give me an indentation error?</p>
  
  <p>Works:</p>
  
  <p><img src="https://i.stack.imgur.com/c8T6T.jpg" alt="This works"></p>
  
  <p>Doesn't work: (Notice extra tree-expander that pops up in Notepad++)</p>
  
  <p><img src="https://i.stack.imgur.com/nRgsa.jpg" alt="enter image description here"></p>
  
  <p>Error:</p>
  
  <pre><code>  File ".\sigma.py", line 14
      for val in vs:
      ^
  IndentationError: unexpected indent
  </code></pre>
  
  <p>I'm using Notepad++ and there are no spaces/tabs issues anywhere. Also, tried it out on the Python console typing it in exactly the same way in the 2nd image. It works fine. I'm guessing there's a very logical explanation to this, but coming from a strong-typed background (>5 years in Java), this feels like an unnecessary error.</p>