Skip to content

Conversation

amadeann
Copy link

@amadeann amadeann commented Mar 4, 2021

len(bin(16)) is 7, not 6. So if we want to get to 4, we need to have:

len(bin(total))-3
and not:
len(bin(total))-2

`len(bin(16))` is 7, not 6. So if we want to get to `4`, we need to have:

`len(bin(total))-3`
and not:
`len(bin(total))-2`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant