I am getting nzec error how can i solve it

import random as rnd
def main():
q=int(input())
e=[]
u=[]
for i in range(q):
w=int(input())
e.append(w)
for i in range(q):
numgame(e[i],1,0,u)
for t in range(q):
print(u[t])
def numgame(r,a,b,u):
s=divisor®
qq=len(s)
if(qq==0):
if(a==1):
u.append(“BOB”)
return
else:
u.append(“ALICE”)
return

g=rnd.randint(0,qq-1)
r=r-s[g]
a,b=b,a
numgame(r,a,b,u)

def divisor(t):
d=[]
for j in range(t-1,0,-1):
if(t%j==0):
d.append(j)
return d
main()

You should correct your typesetting and add the necessary descriptions or wait ten years to see if someone will answer for you.

1 Like

please provide the solution link it is really hard to read like this