次の配列をソートするメソッドを書いてください
array = [3, 5, 7, 6, 4, 2]
def BubbleSort(array): 
	n = len(array) 
	for i in range(n): 
		for j in range(0, n-i-1): 
			if array[j] > array[j+1] : 
				array[j], array[j+1] = array[j+1], array[j] 

# Driver code to test above 
array = [3, 5, 7, 6, 4, 2] 
BubbleSort(array) 

print ("Sorted array is:") 
for i in range(len(array)): 
	print ("%d" %array[i]),