Reverse and Invert a String Reverse and Invert a String



Challenge

In this challenge. You'll be writing a program which will output or return the input, reversed and inverted.

First, each character should be converted to its character code. Then, that should be converted to base-2. Following, that string should be reversed. After, the string should be inverted (1 -> 0 and 0 -> 1). Finally, that should be converted back to base 2 and then converted back to a character. If an character results to be an unprintable, you may optionally output it but they do not have to be removed.

H -&gt; 72  -&gt; 1001000 -&gt; 0001001 -&gt; 1110110 -&gt; 118 -&gt; v
e -&gt; 101 -&gt; 1100101 -&gt; 1010011 -&gt; 0101100 -&gt; 44  -&gt; ,
l -&gt; 108 -&gt; 1101100 -&gt; 0011011 -&gt; 1100100 -&gt; 100 -&gt; d
l -&gt; 108 -&gt; 1101100 -&gt; 0011011 -&gt; 1100100 -&gt; 100 -&gt; d
o -&gt; 111 -&gt; 1101111 -&gt; 1111011 -&gt; 0000100 -&gt; 4   -&gt; (unprintable)
, -&gt; 44  -&gt; 101100  -&gt; 001101  -&gt; 110010  -&gt; 50  -&gt; 2
  -&gt; 32  -&gt; 100000  -&gt; 000001  -&gt; 111110  -&gt; 62  -&gt; &gt;
W -&gt; 87  -&gt; 1010111 -&gt; 1110101 -&gt; 0001010 -&gt; 10  -&gt; (newline)
o -&gt; 111 -&gt; 1101111 -&gt; 1111011 -&gt; 0000100 -&gt; 4   -&gt; (unprintable)
r -&gt; 114 -&gt; 1110010 -&gt; 0100111 -&gt; 1011000 -&gt; 88  -&gt; X
l -&gt; 108 -&gt; 1101100 -&gt; 0011011 -&gt; 1100100 -&gt; 100 -&gt; d
d -&gt; 100 -&gt; 1100100 -&gt; 0010011 -&gt; 1101100 -&gt; 108 -&gt; l
! -&gt; 33  -&gt; 100001  -&gt; 100001  -&gt; 011110  -&gt; 30  -&gt; (unprintable)


Scoring

Shortest code in bytes wins.

-15% Bonus: if your program removes un-printables from the output. This must be at least all characters below 32 except newlines (char 10)
Pyth, 14 bytes

smCi!M_jCd2 2z


Try it online.

How it works

 m           z  Map over the input with lambda d:
        Cd        Cast d to character.
       j  2       Convert to base 2.
      _           Reverse the resulting array.
    !M            Mapped logical NOT.
   i        2     Convert back to integer.
  C               Cast to character.
s               Concatenate the resulting characters.