import sys t="" for x in sys.stdin.readlines(): \x09x=int(x) \x09if x==0:t+="1\n";continue \x09for n in xrange(2,x): \x09\x09x*=n \x09t+=str(x)+"\n" print t \x09
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page