for i in range(512):print'%04o is'%i,''.join('x-rw'[~i>>9-j&1or j%-3]for j in range(10))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page