python--输入一组无序的数,排序

N=int(raw_input('input the number N='))
number=[]
while(N):
        m=int(raw_input('input..\n'))
        number.append(m)
        N -=1
print number
for i in range (0,len(number),1):
        for j in range(0,i,1):
                if number[i]

  

N=int(raw_input('input the number N='))number=[]while(N):        m=int(raw_input('input..\n'))        number.append(m)        N -=1print numberfor i in range (0,len(number),1):        for j in range(0,i,1):                if number[i]

转载于:https://www.cnblogs.com/beihaidao/p/5756211.html

你可能感兴趣的:(python--输入一组无序的数,排序)