convert integer to binary
Henk Burgstra
egosum at xs4all.nl
Sat May 3 05:58:43 EDT 2003
Almost there?
>>> print IntToBin(0)
>>> print IntToBin(4)
001
>>> print IntToBin(6)
011
;-)
Regards,
Henk Burgstra
More information about the Python-list
mailing list