<reponame>Leoperon/Data-Structures-Algorithms-Hacktoberfest-2K19<gh_stars>0
def bubble_sort(arr):
	for n in range(len(arr)-1,0,-1):
		print 'This is the n:',n
		for k in range(n):
			print 'This is the k index check: ',k
			if arr[k]> arr[k+1]:
				temp= arr[k]
				arr[k]=arr[k+1]
				arr[k+1]=temp
arr=[2,3,6,4]
bubble_sort(arr)