Take it to a real machine: a script you run from the terminal

Your task In the code box, write a function main(argv) that takes the list of words after the file name, like ["Toner", "3"], and gives back Order 3 x Toner. When the list does not have exactly two words, give back Usage: python report.py ITEM QTY. When the quantity is not a whole number, give back QTY must be a whole number. Keep the last two lines: they call main with sys.argv[1:] when the file runs. Then press Run my code.

Getting the editor ready