回答編集履歴
1
コード変更
test
CHANGED
@@ -4,11 +4,11 @@
|
|
4
4
|
|
5
5
|
>>> b = 'abc!!!|||xxx!abc'
|
6
6
|
|
7
|
-
>>> a[:3]
|
7
|
+
>>> 'abc' in a[:3] and 'abc' in a[3:]
|
8
8
|
|
9
9
|
False
|
10
10
|
|
11
|
-
>>> b[:3]
|
11
|
+
>>> 'abc' in b[:3] and 'abc' in b[3:]
|
12
12
|
|
13
13
|
True
|
14
14
|
|