Filter a dict. def from_keys(d, iterator): return dict((i, d[i]) for i in iterator). mydict = {'apple':'red', 'banana':'yellow', ...
確定! 回上一頁