回答編集履歴
1
修正
answer
CHANGED
@@ -25,9 +25,9 @@
|
|
25
25
|
は、
|
26
26
|
```Python
|
27
27
|
tags = "Python Ruby Java Python Ruby"
|
28
|
-
tags =
|
28
|
+
tags = tags.split(' ')
|
29
29
|
tags = list(set(tags))[:5]
|
30
30
|
|
31
31
|
print(tags)
|
32
|
-
#
|
32
|
+
# ['Ruby', 'Python', 'Java']
|
33
33
|
```この三行でできます。
|