已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])
已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])
已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])
已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])
一个列表名为names,里面有old_driver,rain,jack,shanshan,peiqi,black_girl 元素, 以下用列表分片的方法访问前三个元素的语句正确的是: A: names[0:3] B: names[0:2] C: names[0:4] D: names[1:4]
一个列表名为names,里面有old_driver,rain,jack,shanshan,peiqi,black_girl 元素, 以下用列表分片的方法访问前三个元素的语句正确的是: A: names[0:3] B: names[0:2] C: names[0:4] D: names[1:4]
一个列表名为names,里面有old_driver,rain,jack,shanshan,peiqi,black_girl 元素, 以下用列表分片的方法访问前三个元素的语句正确的是: A: names[0:3] B: names[0:2] C: names[0:4] D: names[1:4]
一个列表名为names,里面有old_driver,rain,jack,shanshan,peiqi,black_girl 元素, 以下用列表分片的方法访问前三个元素的语句正确的是: A: names[0:3] B: names[0:2] C: names[0:4] D: names[1:4]
已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])
已知有一个名为names的空列表,如何向其中添加old_driver,rain,jack,shanshan,peiqi,black_girl 元素? A: names.append("old_driver","rain","jack","shanshan","peiqi","black_girl") B: names.extend("old_driver","rain","jack","shanshan","peiqi","black_girl") C: names.insert("old_driver","rain","jack","shanshan","peiqi","black_girl") D: names.extend(["old_driver","rain","jack","shanshan","peiqi","black_girl"])