結果 : check if list contains same elements python