Question: enter image description hereOk, I am just starting to learn python, and I can't figure out why my IF/Else statement keeps getting this error after I enter Else: "SyntaxError: unindent does not match any outer indentation level". Here is my code
 if x>1000:
 print('3')
 else:

SyntaxError:SyntaxError: unindent does not match any outer indentation level

the if and else are on the same column, so I am not sure whats happening?
=========================================================================

Here is the error (link below)
[Error](http://i.stack.imgur.com/oPeh6.png)
Here was the solution: kind-af funny looking, but even though If was initially on column 4 python registered it as column 0, so I had to put my else: on column 0 (even though it didn't look aligned. THANKS EVERYBODY FOR THE HELP!!
[Solution](http://i.stack.imgur.com/lwnp5.png)

Answer: 
Ah, IDLE. You have tried to enter this into shell, right? So the thing looks like

```
>>> if x > 1000:
        print(3)
    else:

```

right? The point is, `>>>` doesn't count when calculating indents. So in fact if and else are *not* in the same column as far as IDLE is concerned. :-( [The indents it sees are 0, 8, 4.] You have to start the `else:` flush completely to the left margin.
Be careful with spaces and tabs, even if lines look visually indented, from python perspective they maybe are not indented

[![enter image description here](https://i.stack.imgur.com/SWwRG.png)](https://i.stack.imgur.com/SWwRG.png)

For example, look at the image, line 2 contains 4 spaces and line 6 contains one tab. It's really useful when your text editor allows you to notice these differences somehow.