回答編集履歴
1
元のコードに合わせる
test
CHANGED
@@ -6,13 +6,13 @@
|
|
6
6
|
|
7
7
|
#電話番号複数対策
|
8
8
|
|
9
|
-
tel
|
9
|
+
list_tell = output[2].split(",")
|
10
10
|
|
11
11
|
#複数の場合で分岐
|
12
12
|
|
13
|
-
if
|
13
|
+
if len(list_tell) > 1:
|
14
14
|
|
15
|
-
list_output = [[*output[:2], tel] for tel in tel
|
15
|
+
list_output = [[*output[:2], tel] for tel in list_tell]
|
16
16
|
|
17
17
|
else:
|
18
18
|
|