回答編集履歴

1

修正

2020/05/29 21:18

投稿

ForestSeo
ForestSeo

スコア2720

test CHANGED
@@ -52,7 +52,7 @@
52
52
 
53
53
  tags = "Python Ruby Java Python Ruby"
54
54
 
55
- tags = tag.split(' ')
55
+ tags = tags.split(' ')
56
56
 
57
57
  tags = list(set(tags))[:5]
58
58
 
@@ -60,6 +60,6 @@
60
60
 
61
61
  print(tags)
62
62
 
63
- # "Python Ruby Java"
63
+ # ['Ruby', 'Python', 'Java']
64
64
 
65
65
  ```この三行でできます。