多选题

已知字符串s='2023noc',选项中哪些可以输出'3noc'?

A

print(s[3:])

B

print(s[-4:-1])

C

print(s[-4:])

D

print(s[3:-1])

赣ICP备20007335号-2