执行完下面代码后,输出的结果为( )
ls = [6, 1, 8, 6, 9, 6] n = len(ls) for i in range(n): for j in range(i+1,n): if ls[j]>ls[i]: tmp = ls[i] ls[i] = ls[j] ls[j] = tmp print(ls)