用python实现冒泡法排序(数字升序)
#-*-coding:GBK-*num = 0data = []while num != -1: num = int(input('Please enter a num:\n')) data.append(num)data.pop()print('the original data is ')for i in range(len(data)): print('%d' %data...