输入代码:list1 = ['physics', 'chemistry', 1997, 2000];print list1;del list1[2];print "After deleting value at index 2 : "print list1;输出结果:['physics', 'chemistry', 1997, 2000]After deleting value at index 2 :['physics', 'chemistry', 2000]请问,删除类别第2个数据后,为甚输出结果不是 ['physics',1997, 2000]?求教了,感谢~
添加回答
举报
0/150
提交
取消