Problem 1b - greet.py: Greeting [15 points] Write stand-alone program that accepts one command line input value,
Question:
Problem 1b - greet.py: Greeting [15 points] Write stand-alone program that accepts one command line input value, calls greeting that you previously defined with input argument set to whatever was in the command line input value, and finally prints out whatever greeting returned. In other words, your program should have behavior identical to the one you wrote in the previous assignment. However, in order to receive credit here, you must use your library function, hwlib.greeting.
Practice goal: This problem is intended as a short exercise in writing a very simple (almost trivial) text-UI application, which re-uses a function in a library module that you create.
The greeting function previously defined is:
def greeting(msg):
return "Welcome," + msg + "!"
These are the tests for the program:
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill