s=[2,3,4,9,7,8,5]
n=len(s)
for i in range(n- 1):
for j in range(n- 1, i,- 1):
if s[j]<s[j- 1]:
s[j], s[j- 1]=s[j- 1], s[j]
下列说法正确的是( )