看板 Python 關於我們 聯絡資訊
※ 引述《azulazure (獨在異鄉為異客)》之銘言: : (to, you), (to, me), (to, him), (to, us) 等等 : {to: ['you', 'me', 'him', 'us']} for i in t : if i[0] in d: d[i[0]].append(i[1]) else : d[i[0]] = [i[1]] @"@ -- To iterate is human, to recurse is divine. 遞迴只應天上有, 凡人該當用迴圈.   L. Peter Deutsch -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.114.203.59