单选题:h0013. 下列代码输出为:
下列代码输出为:
str = "Hello,Python";
suffix = "Python";
print (str.endswith(suffix,2));
A.True
B.False
C.P
D.语法错误
答案:A
str = "Hello,Python";
suffix = "Python";
print (str.endswith(suffix,2));
A.True
B.False
C.P
D.语法错误
答案:A