You're viewing a comment by Arun and its responses.

July 01, 2009, 12:53

Nice post!

Printing binary numbers in python is quite straight-forward:

print bin(1234) # or use bin(1234)[2:] to trim the '0b'

Reply To This Comment

(why do I need your e-mail?)

(Your twitter handle, if you have one.)

Type the word "apple_143": (just to make sure you're a human)

Please preview the comment before submitting to make sure it's OK.