单选题:您将使用哪个方法来确定字符串中是否存在某个子字符串?
您将使用哪个方法来确定字符串中是否存在某个子字符串?
@[B](2)
A. endswith(substring)
B. find(substring)
C. replace(string, substring)
D. startswith(substring)
A.endswith(substring)
B.find(substring)
C.replace(string, substring)
D.startswith(substring)
答案:B
@[B](2)
A. endswith(substring)
B. find(substring)
C. replace(string, substring)
D. startswith(substring)
A.endswith(substring)
B.find(substring)
C.replace(string, substring)
D.startswith(substring)
答案:B