回答編集履歴
1
修正
answer
CHANGED
@@ -5,12 +5,11 @@
|
|
5
5
|
import re
|
6
6
|
|
7
7
|
for s in ['{}{}'.format(s,n) for n,s in itertools.product(range(1,100), 'abcde')]:
|
8
|
-
if re.match('[b|c
|
8
|
+
if re.match('[b|c][0-9]+', s):
|
9
9
|
print(s)
|
10
10
|
"""
|
11
11
|
b1
|
12
12
|
c1
|
13
|
-
d1
|
14
13
|
:
|
15
14
|
"""
|
16
15
|
```
|