The following code doesn't work since List[i][j]
seems not to be recognized as an integer
cand=["A","B","C","D"]
List=[[],[0,3],[0,1,3],[0]]
L=[[cand(List[i][j]) for j in range(len(i))] for i in range(len(List))]
List[1][1] = 3
so I was persuaded that I can call cand(List[1][1]) but i seems that it dosn't work.
Need a little help