执行如下 Python 程序段后, 说法不正确的选项是?
a=[2,1,3,2,4,3] n=len(a) for i in range(2): k=i for j in range(i+1,n): if a[k]>a[j]: k=j if i!=k: a[i],a[
a= [1, 2, 3, 2, 4, 3]
for i in range(2)与for i in range(0,2)等价
k的值为1
for j in range(i+1,n):与for j in range(i+1,n+1):等价