欢迎您访问高中作文网,请分享给你的朋友!

当前位置 : 首页 > 问答 > 教育知识

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

来源:网络 时间:2022-11-11 手机浏览

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

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

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

B.'hello'[3]

C.'hello'[1]

D.'hello'[1:4]

正确答案:AD