PYTHON : 从2d list里找item的index. a1 是在mlist3[0]的list里面。如果要判断存在返回第一级的索引,这样改一下return:for i , v in enumerate(mlist3):if x in ...
確定! 回上一頁