1# Error:
2IndentationError: unindent does not match any outer indentation level
3
4# Explanation:
5# This error usually comes up when you are using a mix of spaces and
6# tabs for indentation in Python (which is often caused by copy-pasting
7# code from somewhere else). To fix, convert all tabs to 4 spaces in
8# your text editor. E.g. in Atom, the 'Whitespace: Convert Tabs to
9# Spaces' command that you can find with Cmd+Shift+P works nicely.
10
11# Note, the PEP8 style guide for Python recommends using 4 spaces for
12# indentation instead of tabs. You may need to change the space/tab
13# settings in your text editor if it's set to auto-convert any of these
14# characters.
1# usually use 4 spaces to indent (don't mix with TABs or IndentationError)
2j = 1
3site = 'cg'
4while(j<= 1):
5 if site == 'cg':
6 print('okay')
7 else:
8 print('retry')
9 j += 1
10 print ('j: ' + str(j))
11print('Done') # okay j: 2 Done