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

回答編集履歴

1

修正

2019/04/17 14:32

投稿

LouiS0616
LouiS0616

スコア35678

answer CHANGED
@@ -2,7 +2,7 @@
2
2
  ```Python
3
3
  import operator
4
4
 
5
- lst = [9,3,6,1,2]
5
+ lst = [9, 3, 6, 1, 2]
6
6
 
7
7
  dst = sorted(
8
8
  enumerate(lst), key=operator.itemgetter(1)
@@ -13,7 +13,7 @@
13
13
  print(dst)
14
14
  ```
15
15
 
16
- **実行結果** [Wandbox](https://wandbox.org/permlink/VTx2t8JAzdMCMnjH)
16
+ **実行結果** [Wandbox](https://wandbox.org/permlink/RNZt5CHqffinO0mc)
17
17
  ```
18
18
  [(3, 1), (4, 2), (1, 3), (2, 6), (0, 9)]
19
19
  [3, 4, 1, 2, 0]