結果 : generate pairs from list python