To prevent bugs resulting from user input, remove leading and trailing

whitespace from each line. #15 

I saw your post on /r/learnprogramming and as a fan of both org mode and Python, I thought I'd contribute. The built-in strip() function should do everything you're looking for but if you really only want to remove leading space, there's an lstrip() function. You should check out the 'str' and 're' libraries since you'll be doing a lot of string parsing/manipulation.