回答編集履歴

1

追記

2018/12/08 18:35

投稿

hayataka2049
hayataka2049

スコア30933

test CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  ```python
6
6
 
7
+ text = """りんご みかん\nみかん りんご"""
8
+
7
9
  result = {frozenset(line.split()) for line in text.splitlines()}
8
10
 
9
11
  ```