[Tutor] Conversion question

Lie Ryan lie.1296 at gmail.com
Tue Jun 16 21:05:27 CEST 2009


xchimeras at gmail.com wrote:
> Thanks for the reply I would like to print the string in binary
> Man=010011010110000101101110
> 

What's M in binary?
Nobody knows...

What's M in encoded in 8-bit ASCII string:
'0b1001101'
Source: bin(ord('M'))



More information about the Tutor mailing list