回答編集履歴

1

追記

2019/11/16 11:27

投稿

hayataka2049
hayataka2049

スコア30933

test CHANGED
@@ -2,10 +2,20 @@
2
2
 
3
3
 
4
4
 
5
- ついでにいうと、外側はfor文ではなくset内包表記です。
5
+ ついでにいうと、外側はfor文ではなく俗に言うセット内包表記です。
6
6
 
7
7
 
8
8
 
9
- 参考
9
+ リファレンスの説明(難しい)
10
10
 
11
11
  [6. 式 (expression) — Python 3.8.0 ドキュメント](https://docs.python.org/ja/3/reference/expressions.html#displays-for-lists-sets-and-dictionaries)
12
+
13
+
14
+
15
+ もう少し読みやすいものいくつか
16
+
17
+ [pythonの内包表記を少し詳しく - Qiita](https://qiita.com/y__sama/items/a2c458de97c4aa5a98e7)
18
+
19
+ [内包表記 | Python-izm](https://www.python-izm.com/advanced/comprehension/)
20
+
21
+ [Pythonリスト内包表記の使い方 | note.nkmk.me](https://note.nkmk.me/python-list-comprehension/)