結果 : get first element of list or none python