第27206题 单选题
执行以下Python代码,程序的输出结果是?
test_str = "hello world hello"
# 从索引6的位置开始查找子串"hello"
print(test_str.find("hello", 6))
A
B

12

C

-1

D

6

程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析