5 | 4,227 | 117 |
---|---|---|
articles | words | lines of code |
This article shows how to do base conversions in Python with the built-in int, how to write integer literals in other bases, and how to do base conversions in general.
Think of a number between 1 and 10. Multiply it by 9 and subtract 1. Now close your eyes. It got dark, didn't it?