day of the week of 2018 by mitchs

c=4-ord(input()[2])
m=1
while m<13:x=31^4460848>>2*m&3;print('%02d:'%m,*['%02d'%-~d for d in range(c%7,x,7)]);c-=x;m+=1

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

To protect the system from spam, please input your favorite sport (hint: I believe its name must start with 'g', case insensitive)

download

return to the top page