回答編集履歴
1
追記
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
|
```
|