electronic dice by recursive (leonid)

while 1:v=input();f=v>2,0,3%v%2,v/6,v%2;print"%i %i %i\n"*3%(f+f[3::-1])

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top