# NZEC error ??

 Rishabh gupta · January 12, 2015 few days back i  took part in an online programming competition wherein we were asked to submit the code online,but my code wasn't accepted as it had this NZEC error....i coded  two  questions in that competition ,both of them were rejected on the basis of this nzec error my code had.,please help..my code:``def vote():    print("enter the number of test cases\n")    t=int(input())    if (t>50 or t<1):        print("t cannot have value greater than 50 or less than 1")        vote()    else:        def vote2():            for _ in range(t):                print("enter the number of opinions\n ")                n=int(input())                print("\n")                if (n>10000 or n<1):                    print("number of opinions cannot have value greater than 10000 or less than 1")                    vote2()                else:                    print("enter the values of statistic B\n")                    statsb=[]                    for _ in range(n):                        a=int(input())                        statsb.append(a)                    for i in range(n):                        if (statsb>1000 or statsb<0):                            print("values in STATISTIC B cannot have value greater than 1000 or less than 0")                            vote2()                    a=0                    for i in range(len(statsb)):                        a=a+statsb                    if(a<100 or a >101):                        print(" NO")                    else:                        print("yes")        vote2()vote()``

## Replies

Nothing to see here.

## Python

131,260 followers