結果 : python get list index or none