下列代码执行完毕后,输出的结果是?
nums = [3, 1, 2, 4, 0] nums.insert(1, 0) nums.pop() nums.append(1) nums.remove(2) print(nums)
[0,3,1,4,1]
[0,1,2,4,1]
[3,0,1,4,1]
[3,0,2,4,1]