'''
Created on Dec 1, 2014

@author: Susan
'''
def swap(i,j, somelist):
    # swap the elements in positions i and j of somelist
    # TODO:
    
 
def BubbleSort(items):
    for iIndex in range(len(items)):
        for jIndex in range(       ,          ):
            # TODO:
            
        print "One pass is: ", items
        
    
    
    
alist = [3, 7, 2, 9, 1, 8, 6]
print "list before sorting is: ", alist
BubbleSort(alist)
print "list after sorting is: ", alist

