結果 : python get first element of list if not empty