Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update index.md in /binary section 17.1 #320

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/binary/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ We can write binary numbers directly in Python using the `0b` prefix:
As noted in [%x dup %],
programmers usually use [%i "hexadecimal" %] instead:
the digits 0–9 have the usual meaning,
and the letters A–F (or a–f) are used to represent the digits 11–15.
and the letters A–F (or a–f) are used to represent the digits 10–15.
We signal that we're using hexadecimal with a `0x` prefix,
so `0xF7` is \\( (15×16)+7 \\) or 247 base 10.
Each hexadecimal digit corresponds to four bits ([%t binary-hex %]),
Expand Down