cal by MarkByers

import calendar\x0d
while 1:print('%-20s'+'\n%s'*7)%tuple(calendar.TextCalendar(6).formatmonth(*map(int,raw_input().split())[::-1]).split('\n')[:8])

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

download

return top