Problem 101 is significantly less trivial than the previous couple. Not that it's terribly difficult, but I wasn't able to just bang it out; I had to consider my approach. It's the first one that made me think that I ought to start using pyUnit as I go rather than writing a bunch of code and then testing as needed. I didn't, but I'm starting to read a bit about it. This problem also makes me feel like I should be writing mature code that raises exceptions as appropriate rather than assuming perfect input all the time.
My solution. I wonder if there's a more elegant way to handle the last half of process_command(), possibly involving an array slice and .reverse()?