Zodiac Signs by rolf

import sys
l=[20,19,21,20,21,22,23,23,23,23,23,22]
while 1:
 m,d=map(int,raw_input().split())
 sys.stdout.write(unichr(0x2648+(m+8+(d>=l[m-1]))%12).encode("utf8")+"\n")

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