Hi:
I have a bit-code :'1011011', how can I reverse it to '1101101'?
Another question is I know how to transform the string '110' into
integer 6, does anyone know how to transform integer 6 to a string
'110'?
Thank you very much:)
--
Li
--
Time is all we have
and you may find one day
you
On Tue, Apr 28, 2009 at 7:26 AM, Li Wang li.wan...@gmail.com wrote:
Hi:
I have a bit-code :'1011011', how can I reverse it to '1101101'?
Another question is I know how to transform the string '110' into
integer 6, does anyone know how to transform integer 6 to a string
'110'?
Thank you
I have a bit-code :'1011011', how can I reverse it to '1101101'?
Another question is I know how to transform the string '110' into
integer 6, does anyone know how to transform integer 6 to a string
'110'?
Thank you very much:)
Assuming that you are using 2.6:
a = 0b1011011
print