回答編集履歴

1

タイプミスの修正

2020/12/24 22:40

投稿

ppaul
ppaul

スコア24670

test CHANGED
@@ -42,7 +42,7 @@
42
42
 
43
43
  4
44
44
 
45
- >>> templist = [lst[j:j+1] for j in range(max([len(i) for i in x])) for lst in x]
45
+ >>> templist = [lst[j:j+1] for j in range(maxlen) for lst in x]
46
46
 
47
47
  >>> print(templist)
48
48