結果 : python check if tuple has index