Tagged: number-systems

Everything tagged "number-systems", newest first.

Coding Practice ·

Python Coding Exercise #24: Binary, Octal and Hexadecimal

A beginner Python exercise on number systems — convert a decimal integer to binary, octal and hexadecimal with the built-in functions bin(), oct() and hex(), and learn what the 0b, 0o and 0x prefixes mean.

All tags