首页 › 答案 › 题库 › 慕课 › 未分类

设字符串s="abcdefg",则s[-3:-1]的值为

设字符串s="abcdefg",则s[-3:-1]的值为
A.e
B.ef
C.efg
D.fg
正确答案:ef