electronic dice by leonid

while 1:h=input();s='%d 0 %d\n%d'%(h>2,3%h%2,h/6);print s,h%2,s[::-1]+'\n'

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

download

return to the top page