单选题

已知有字符串str2="Good Morning!",则执行print(len(str2[1:-2]))输出的结果是?


A.

8

B.

9

C.

10

D.

11

发表评论

登录 后再回复