質問編集履歴
1
文法の修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -5,8 +5,6 @@
|
|
5
5
|
MyPath = 'csv'
|
6
6
|
|
7
7
|
|
8
|
-
|
9
|
-
#csvファイルを読み
|
10
8
|
|
11
9
|
rows = []
|
12
10
|
|
@@ -26,8 +24,6 @@
|
|
26
24
|
|
27
25
|
non_zero_indexes = [i for i, v in enumerate(values) if v != 0]
|
28
26
|
|
29
|
-
|
30
|
-
|
31
27
|
for pair in combinations(non_zero_indexes, 2):
|
32
28
|
|
33
29
|
print(pair)
|