Created
October 19, 2019 15:00
-
-
Save blueskyjunkie/9e7bd8a2599267eef11659d33e4bf417 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tc=lambda n, b: hex((1 << b)+n if n <0 else hex(n) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment