回答編集履歴

1

間違い

2019/11/11 03:40

投稿

quickquip
quickquip

スコア11235

test CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  range_argments = [x + 1 for x in m] # => [1, 6, 5, 4, 5, 2]
20
20
 
21
- answer = list(filter(lambda x: sum(x) == 10, product(*map(range, range_argments)))
21
+ answer = list(filter(lambda x: sum(x) == 10, product(*map(range, range_argments))))
22
22
 
23
23
 
24
24