●全要素のイテレータが欲しい場合(import itertools) 直積(デカルト積):itertools.product 例: list(itertools.product([‘a’, ‘b’, ‘c’, ‘d’, ‘e’], repeat=2)) #= itertools.product([‘a’, ‘b’, ‘c’, ‘d’, ‘e’], [‘a’, ‘b’, ‘c’, ‘d’, ‘e’]) [(‘a’, ‘a’), (‘a’, ‘b’), (‘a’, ‘c’), (‘a’, ‘d’), (‘a’, ‘e’), (‘b’, ‘a’), (‘b’, ‘b’), (‘b’, ‘c’), (‘b’, ‘d’), (‘b’, ‘e’), (‘c’, ‘a’), (‘c’, ‘b’), (‘c’, ‘c’), (‘c’, ‘d’), (‘c’, ‘e’), (‘d’, ‘a’), (‘d’,
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く