""" Question: print the arguments to a program, in reverse order, without the name of the program itself Example: python myprogram.py Oh how I love COMP364 would print: ['COMP364', 'love', 'I', 'how', 'Oh'] """ import sys revlist = [] for el in sys.argv: if el != __file__: revlist.insert(0, el) print revlist