def BubbleSort(list):
long = len(list)
for i in range(0,long):
for j in range(i,long):
if list[i] < list[j]:
list [i],list[j] = list[j],list[i]
else:
pass
return list
list = [23, 12, 1, 56, 34, 78, 1, 55, 4, 2, 66]
print(BubbleSort(list))