Jack wrote: > The arbitrary base case isn't even academic > or we would see homework questions about it > on c.l.py. No one asks about > hex or octal because they are there. I have wanted base-36 far more often than I've wanted base-8. I haven't needed any base (except 10) often enough to justify putting it in builtins rather than a stdlib module. I do like the idea of adding Raymond's def base(number, base, prefix) to the stdlib (possibly in math). -jJ
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4