>What is the most Pythonic way to loop through the list returning a >list like this?: here's how I'd do it: >>> i [(1, 'a'), (2, 'b'), (3, 'c')] >>> for item in i: ... a+=list(item) ... ... >>> a [1, 'a', 2, 'b', 3, 'c']
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル