import time
def bubble_sort(l):
	for i in range(len(l)):
		swapped = False
		for j in range(0,len(l)-i-1):
			if l[j]>l[j+1]:
				l[j],l[j+1]=l[j+1],l[j]
				swapped=True
		if swapped==False:
			break			
t=time.time()
l=[5,3,7|,4,9]
bubble_sort(l)
print(l)
print(time.time()-t)
