NZEC what is it?
python at mrabarnett.plus.com
Sun Aug 15 19:22:54 CEST 2010
Mikael B wrote:
> I use, among other things, a site, http://www.codechef.com to learn
> I don't know what platform they use. I use linux.
> When I submit this little piece of code to them:
> import sys
> import math
> for a in int_list[1:]:
> print math.factorial(int(a))
> they generate a runtime error :NZEC but I don't (python 2.6)
> What is NZEC and what could cause it in these few lines of code?
I googled for it and found that it means "non-zero exit code", perhaps
due to an exception. Not a helpful message! :-)
What happens if you deliberately raise an exception, eg:
More information about the Python-list