I am working on a short code component to pull out a list of words from a larger list
thisList = 18 # get word key for this block wordIdx = ; for i, j in enumerate(distList['list']): if j == thisList: wordIdx.append(i)
I found that in the Auto-> JS mode, the enumerate statement produces
/* Syntax Error: Fix Python code */
Curiously, if I delete
i, the Auto->JS works. Any idea why this is?