結果 : python get first element if not empty