結果 : python get first element of array if exists