回答編集履歴
1
append
test
CHANGED
@@ -1 +1,7 @@
|
|
1
1
|
よりPythonic(Python的)なのは、リスト内包表記とされています。高階関数はあまり好まれません。
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
例えば書籍"[Effective Python](http://www.effectivepython.com/)"([日本語版](https://www.oreilly.co.jp/books/9784873117560/))でも「Item 7: Use List Comprehensions Instead of map and filter/項目7:mapやfilterの代わりにリスト内包表記を使う」とされています。
|
6
|
+
|
7
|
+
|