one-file-projects/bin2hex.py

4 lines
59 B
Python

while True:
r = int(input(">"),2)
print("%X" % r)