- 使用 find() 方法:
strings = ["hello world", "apple [pie]", "orange [juice]"]
result = []
for s in strings:
if s.find("[") !=
strings = ["hello world", "apple [pie]", "orange [juice]"]
result = []
for s in strings:
if s.find("[") !=