If you want the same result, you can do `if direction in ('n', 'w'):`.

Also, trespassing.