回答編集履歴

1

修整

2021/06/04 15:33

投稿

modieu
modieu

スコア282

test CHANGED
@@ -12,11 +12,9 @@
12
12
 
13
13
  import re
14
14
 
15
- res=re.findall(r'\d+,\d+,\d+',s)
15
+ for a in re.findall(r'\d+,\d+,\d+',s):
16
16
 
17
- for i in range(len(res)):
18
-
19
- print('{0} {1} {2}'.format(*res[i].split(',')))
17
+ print('{0} {1} {2}'.format(*a.split(',')))
20
18
 
21
19
  ```
22
20