以下哪个方法可以用于判断字符串是否以指定的前缀开头?
A、startswith()
B、beginswith()
C、isstart()
D、prefixof()
正确答案:startswith()
相关答案
热门答案