omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / tasks / binary-digits / oracle.py
| 1 | # Independent reference for "Binary digits" (Python 3, standard library only). |
| 2 | # expected.txt is this program's stdout; omc never produced it. |
| 3 | for n in [0, 5, 50, 9000, 2**64 - 1]: |
| 4 | print(format(n, "b")) |