This suggested edit attempts to format the code in the question.
Since this meta post states that it would be better to leave formatting advice as part of answer, I am inclined to reject this suggested edit.
On the other hand, the question was asked by a new user, and I have a strong feeling that they are not copying their code correctly from their editor and are possibly being lazy about fixing their indentation. So providing an answer saying "fix your indentation" would be worthless to them (though perhaps not to future visitors).
So what would be the best course of action?
- Approve the edit.
- Downvote the question (in an attempt to coerce the OP to fix the indentation).
- Provide an answer/comment (as done by @ComFreek) about fixing the indentation anyway.