import reverse
# test out reverse(list) function
a = ['it', 'is', 'snowing', 'today']

reverse.reverse(a)

# test out reverseList(listname) function
# first print the contents of our list
i = 0
while i < len(a):
    print a[i],
    i = i + 1
print

# now reverse the contents of our list
reverse.reverseList(a)

#now print the contents of our list again to see if they are reversed
i = 0
while i < len(a):
    print a[i],
    i = i + 1
print
