問題詳情

130.有一個pattern = ‘^Mary’,msg = “She is Mary’,執行下列指令後。txt = re.findall(pattern, msg)最後txt的內容是[‘Mary’]
(A)O
(B)X

參考答案