Hey Trevor, and sorry for your frustrating experience.
When coding, preciseness is important. Just like in books you don't put two extra spaces after the very last period in a chapter or at the very end, you don't want to here.
In a book it wouldn't matter anyway, though, although it does when coding.
We are trying to make things more flexible though by allowing for trailing and leading whitespace discrepancies. A ways from implementing that and it likely won't be ubiquitous. Best to, if you run into problems, post the code you're submitting, format (i.e., escape) it, and ask, and you can get a second set of eye on it to help out!