小明编写了一段演示插入排序的代码,代码如下。请问红色“缺失代码”处,应该填写哪段代码?( )
a = [8,4,11,3,9] count = len(a) for i in range(1, count): j = i b = a[i] while j>0 and b<a[j-1] : a[j] = a[j-1] 缺失代码 a[j] = b print(a)
j=j-1
j=j+1
j=i+1
j=i-1