bystartw_tw@tg says to YSITD
>>> for i in range(1 << length, 1, -1): ... print(str(bin(i))[2:]) ... 10000 1111 1110 1101 (略) 11 10