第27751题 单选题
执行以下Python代码后,原列表my_list的值以及pop()方法的返回结果res分别是?
my_list = ["a", "b", "c", "d"]
res = my_list.pop(1)
A

my_list为["a", "b", "c", "d"],res为"b"

B

my_list为["a", "c", "d"],res为"b"

C

my_list为["a", "b", "c"],res为"d"

D

my_list为["b", "c", "d"],res为"a"

程序运行统计
暂无判题统计
提交0次 正确率0.00%
答案解析