Bin

Print a range of binary numbers in #Python
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