McCarthy 91 function by rolf

n=input()
c=1
while c:
 print"M("*c+`n`+")"*c
 if n>100:n-=10;c-=1
 else:n+=11;c+=1
print 91

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

download

return to the top page