If you just start with `prompt = b''`, there's no need for this if/else, or the extra `result` variable. The `b''` syntax will work on the Python 2 versions that we support (2.6 and above) as well.