def fn():
for i in range(l)
global count
count[i]= ....
how do i declare count to be global if it is an array
subsequently i should access or define count as an array
error:
global name 'count' is not defined
thanks
-a
for i in range(l)
global count
count[i]= ....
how do i declare count to be global if it is an array
subsequently i should access or define count as an array
error:
global name 'count' is not defined
thanks
-a
Comment