-->
当前位置:首页 > 题库

单选题:Which option has the same value as s[ : -1 ]

Luz5年前 (2021-05-10)题库1114
Which option has the same value as s[ : -1 ]
@[D](2)

A. s[-1]
B. s[:len(s)]
C. s[:]
D. s[0:len(s)-1]



A.s[-1]
B.s[:len(s)]
C.s[:]
D.s[0:len(s)-1]


答案:D