teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

修正

2020/12/29 05:46

投稿

guijiu
guijiu

スコア36

title CHANGED
File without changes
body CHANGED
@@ -6,7 +6,7 @@
6
6
  // マップにあるキーと値を逆転させるflipValues関数をつくれ。
7
7
  val gradesByStudent = mapOf("Josh" to 4.0, "Alex" to 2.0, "Jane" to 3.0)
8
8
  //表示例:{Josh=4.0, Alex=2.0, Jane=3.0}
9
- flipValuesList(gradesByStudent)
9
+ flipValues(gradesByStudent)
10
10
  //表示例:{4.0=Josh, 2.0=Alex, 3.0=Jane}
11
11
  ```
12
12