結果 : get all pairs from list python