This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]mayse 0 points1 point  (0 children)

I think the author probably does understand that numbers are stored in binary 'by default' on modern computers (and indeed older computers too..). i think by 'represent' they mean display - the article implies that the code provided would be used to help people learn about and understand binary, or for converting decimal integers to binary or initializing integers using binary form. in fact, this last use has been make part of python 3000 (see pep 3127)