优题选
题目:有字符串'hello',下列索引能够提取出'ell'的()

有字符串'hello',下列索引能够提取出'ell'的()

A.'hello'[-4:-2]

B.'hello'[3]

C.'hello'[1]

D.'hello'[1:4]

正确答案:AD

相关试题
返回顶部