# This function accepts a list
# and prints it in reverse order
def reverse(lst1):
    listEnd = len(lst1) -1
    while listEnd >= 0:
        print lst1[listEnd]
        listEnd = listEnd -1
 
# This function accepts a list
# and reverses the list
# This is where we left off on Thursday
def reverseList(lst1):
    listEnd = len(lst1) -1
    listBegin = 0
    while listEnd > listBegin:
        #swap the elements 
        temp = lst1[listBegin]
        lst1[listBegin] = lst1[listEnd]
        lst1[listEnd] = temp
        # move in from the outside edges of the list
        # to the inside
        listBegin = listBegin + 1
        listEnd = listEnd - 1
    