2020 calendar by rolf

m=[31,29,31,30,31,30,31,31,30,31,30,31]
a=3
for i in range(12):
 s=["  "]*a
 for j in range(m[i]):
  s+=[("%2d"%-~j)];a+=1
  x=" "+" ".join(s)
  if a%7==0:print x;s=[];p=""
  else:p=x+"\n"
 print p
 a%=7 

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