Hello. There is a string - '01101000', in ascii it is the letter h. It is necessary to translate these characters, in fact, in ascii and get h at the output.

Reported as a duplicate by jfs python Apr 12 '18 at 7:07 pm

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

    1 answer 1

    Convert to number, then to symbol:

    print(chr(int('01101000',2))) 
    • Thank you very much :) - Puppet