Print 1 ' s ▁ and ▁ 2' s complement of binary number represented by " bin "
def printOneAndTwosComplement ( bin ) : NEW_LINE INDENT n = len ( bin ) NEW_LINE ones = " " NEW_LINE twos = " " NEW_LINE DEDENT