Brian Quinlan wrote: >>> if any(seq, lambda x: x==5): >> if any(x==5 for x in seq): >> Aren't all of these equivalent to: >> if 5 in seq: > ... There should be one-- and preferably only one --obvious way to do it. Regards, Martin
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル