Share your repls and programming experiences

← Back to all posts
binary to decimal transformer
Comments
hotnewtop
BuddyRaider (24)

Nice work @andliu766, I never would have thought to go about it like that lol XD

BananaJellyfish (210)

There are 10 types of people in this world: those who know binary, and those who don't

andliu766 (28)

@BananaJellyfish me at first look: there are only 2, not 10. me at second look: oh yeah, 10 is 2 in binary

TotallyNotSeth (3)

Great job! Quick tip: Python actually has a built-in feature for this! int("101010", base=2) == 42

maxina (61)

@SethPeace all the ops work for nothing :( lol

Th3Coder (129)

Indeed, it is!

Btw great code! :)