题库 Python题库 题目列表 设有变量赋值s1="it was the best of times&quot...
单选题

设有变量赋值s1="it was the best of times",则以下选项中可以输出"best"(无空格)子字符串的是?( )

A.

print(s1[12:16])

B.

print(s1[11:15])

C.

print(s1[11:16])

D.

print(s1[4]) 

题目信息
2025年 6月 选择题
100%
正确率
0
评论
18
点击