print("private bool IsEven(int number){\n %s}"%(" else if (number == %%s) return %se;\n"*2%("fals","tru")*25%tuple(range(1,51)))[9:])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page