Bin

Print a range of binary numbers in #Python

 * python -c "for i in range(0,32): print i, (format(i,'b'))"

import sys a = int(sys.argv[1]) b = int(sys.argv[2]) for i in range (a, b+1): print(format (i, 'b'))
 * 1) !/usr/bin/python