MAXCOUNT : python code NZEC error

I submitted a solution to MAXCOUNT problem in python 2.7 , but it shows NZEC. why is it so? I want to know how to submit python codes? Do I need to include numpy, sys , scipy, etc. libraries in the source code?