結果 : check if list has only one element python