2、使用in判断要找的元素是否在list中,如果在list中再使用index方法找位置: #juzicode.com/vx:桔子code lst = [1,3,9,5,21] if 20 in lst: a ...
確定! 回上一頁