#!/usr/bin/python3 # Copyright (C) 2014 Steve Litt, Expat license, http://directory.fsf.org/wiki/License:Expat arr = ['one', 'two', 'three'] arr.append('four') while len(arr) > 0: print(arr.pop())