下面代码的输出结果是a = [9,6,4,5]N = len(a)for i in range(int(len(a) / 2)): a[i],a[N-i-1] = a[N-i-1],a[i]print(a)
A、[4,5,6,9];
B、[9,6,5,4];
C、[5,4,6,9];
D、[9,6,5,4]
发布时间:2024-09-17 06:58:25
A、[4,5,6,9];
B、[9,6,5,4];
C、[5,4,6,9];
D、[9,6,5,4]