Understanding IndentationErrors in Python 2.7
问题 I tend to get a LOT of IndentationErrors when writing python code. Sometimes the error will go away when I delete and rewrite the line. Can someone provide a high level explanation of IndentationErrors in python for noob? Here is an example of a recent indentationError I received while playing CheckIO that will not go away: def checkpass(data): """Checks password for >=10 char + 1 number + 1 LC letter + 1 UC letter""" passlist = [] uclist = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J',